/* css/style.css */

/* Base styles for the body and fonts */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6; /* Light gray background */
    color: #374151; /* Default text color */
    line-height: 1.6;
}

/* Card container styling */
.card {
    background-color: #ffffff;
    border-radius: 1rem; /* Tailwind's rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Tailwind's shadow-xl */
    padding: 2.5rem; /* Tailwind's p-10 */
    width: 100%;
    max-width: 600px; /* Max width for forms and content */
}

/* Form input and select base styles */
.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem; /* py-3 px-4 */
    font-size: 1rem; /* text-base */
    line-height: 1.5;
    color: #4a5568; /* text-gray-700 */
    background-color: #fff;
    background-image: none;
    border: 1px solid #e2e8f0; /* border-gray-300 */
    border-radius: 0.5rem; /* rounded-lg */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none; /* Remove default browser styling */
    -moz-appearance: none;
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #4CAF50; /* Green-500 */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25); /* Green-500 with 25% opacity */
}

/* Button base styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    font-size: 1rem; /* text-base */
    font-weight: 600; /* font-semibold */
    border-radius: 0.5rem; /* rounded-lg */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none; /* For anchor tags acting as buttons */
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping */
}

.btn-primary {
    background-color: #4CAF50; /* Green */
    color: #ffffff;
    border: 1px solid #4CAF50;
}

.btn-primary:hover {
    background-color: #45a049; /* Darker green */
    border-color: #45a049;
    transform: translateY(-1px); /* Slight lift effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #e2e8f0; /* Gray-200 */
    color: #2d3748; /* Gray-800 */
    border: 1px solid #cbd5e0; /* Gray-300 */
}

.btn-secondary:hover {
    background-color: #cbd5e0; /* Darker gray-300 */
    border-color: #a0aec0; /* Gray-400 */
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Message box for success/error messages */
.message-box {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d1fae5; /* Green-100 */
    color: #065f46; /* Green-800 */
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    text-align: center;
    min-width: 250px;
    max-width: 90%;
}

.message-box.show {
    opacity: 1;
    visibility: visible;
}

.message-box.error {
    background-color: #fee2e2; /* Red-100 */
    color: #991b1b; /* Red-800 */
}

/* Logo styling */
.logo {
    max-width: 150px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

/* Specific styling for dashboard table rows */
.table-row.highlight-next-booking {
    background-color: #e6ffe6; /* Light green for highlighted row */
    font-weight: bold;
    border-left: 5px solid #4CAF50; /* Green border */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        padding: 1.5rem; /* Adjust padding for smaller screens */
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .cta-buttons .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
