
/* ===== GLOBAL ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f9fc;
    color: #1f2937;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== HEADER / NAV ===== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.logo-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 56px;
    width: auto;
    display: block;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #0b84d8;
    font-weight: 600;
}

nav a:hover {
    color: #7fbf00;
}

/* ===== BUTTONS ===== */
.btn {
    background: #0b84d8;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn:hover {
    background: #096bb3;
    color: white;
}

.btn.secondary {
    background: #7fbf00;
}

.btn.secondary:hover {
    background: #6aa300;
}

.btn.outline {
    background: white;
    border: 2px solid #0b84d8;
    color: #0b84d8;
}

.btn.outline:hover {
    background: #0b84d8;
    color: white;
}

/* ===== HOME PAGE ===== */
.home-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 30px 15px;
}

.home-card {
    text-align: center;
    background: white;
    padding: 50px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    max-width: 430px;
    width: 100%;
}

.home-card h1 {
    font-size: 38px;
    margin-bottom: 12px;
    color: #0b84d8;
}

.tagline {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.home-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== HERO OPTION IF NEEDED ===== */
.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 36px;
    color: #0b84d8;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== FORM / BOOKING PAGE ===== */
.form-card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    max-width: 760px;
    margin: 40px auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f7;
}

.form-card h2 {
    color: #0b84d8;
    margin-top: 0;
    margin-bottom: 20px;
}

.form-card h3 {
    color: #1f2937;
    margin-top: 25px;
    margin-bottom: 12px;
}

.form-grid p {
    margin-bottom: 15px;
}

.form-card label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    background: white;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    outline: none;
    border-color: #0b84d8;
    box-shadow: 0 0 0 3px rgba(11, 132, 216, 0.12);
}

.form-card textarea {
    min-height: 120px;
    resize: vertical;
}

.price-box {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 16px;
    background: #f1f8ff;
    border-radius: 10px;
    border: 1px solid #dceefe;
}

.price-box h3 {
    color: #0b84d8;
    margin: 0 0 6px 0;
}

.min-note {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* ===== DASHBOARD ===== */
.dashboard-page {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 15px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.dashboard-header h2 {
    margin: 0;
    color: #0b84d8;
}

.dashboard-subtitle {
    color: #777;
    margin-top: 5px;
    font-size: 14px;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== BOOKING CARDS ===== */
.booking-list {
    display: grid;
    gap: 20px;
}

.booking-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f7;
    transition: 0.2s ease;
}

.booking-card:hover {
    transform: translateY(-3px);
}

.booking-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.booking-card-top h3 {
    margin: 0;
    color: #0b84d8;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px 20px;
    margin-bottom: 20px;
}

.booking-details p {
    margin: 0;
    color: #333;
    font-size: 14px;
}

.booking-card-bottom {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #1f7a35;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}

.status-pending-payment {
    background: #fff3cd;
    color: #856404;
}

.status-available-to-cleaners {
    background: #e6f9ec;
    color: #1f7a35;
}

.status-accepted {
    background: #e7f1ff;
    color: #1f5fbf;
}

.status-completed {
    background: #e6f9ec;
    color: #1f7a35;
}

.info-text {
    color: #555;
    font-weight: 600;
}

.success-text {
    color: #1f7a35;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    background: white;
    border-radius: 14px;
    padding: 45px 25px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.empty-state h3 {
    margin-top: 0;
    color: #0b84d8;
}

/* ===== SIMPLE TABLE FALLBACK ===== */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

th,
td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    background: #f8fafc;
    color: #0b84d8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .booking-details {
        grid-template-columns: 1fr;
    }

    nav a {
        margin-left: 10px;
    }

    .home-card {
        padding: 35px 20px;
    }

    .form-card {
        padding: 20px;
    }
}