:root {
    --primary: #00B4D8;
    --primary-dark: #0077B6;
    --secondary: #03045E;
    --accent: #FF9F1C;
    --success: #06D6A0;
    --bg-light: #F0F4F8;
    --white: #ffffff;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --whatsapp: #25D366;
    --border: #E2E8F0;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Booking Page Styles */
.booking-container {
    max-width: 500px;
    margin: 40px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.booking-header {
    text-align: center;
    margin-bottom: 30px;
}

.booking-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.booking-header p {
    color: var(--text-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.9rem;
}

label i {
    color: var(--primary);
    margin-right: 5px;
}

input,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: all 0.3s;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--whatsapp);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #1ebc57;
    transform: translateY(-2px);
}

.links {
    margin-top: 20px;
    text-align: center;
}

.admin-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.admin-link:hover {
    color: var(--primary);
}

/* Dashboard Styles */
.dashboard-body {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
}

.sidebar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--primary);
}

.side-nav ul {
    list-style: none;
}

.side-nav li {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.side-nav li:hover,
.side-nav li.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.logout {
    margin-top: auto;
}

.logout a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.logout a:hover {
    color: var(--white);
}

.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.top-bar h2 {
    color: var(--secondary);
    font-size: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.stat-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.stat-card.blue .icon {
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary);
}

.stat-card.green .icon {
    background: rgba(6, 214, 160, 0.1);
    color: var(--success);
}

.stat-card.orange .icon {
    background: rgba(255, 159, 28, 0.1);
    color: var(--accent);
}

.stat-card h3 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
}

.content-section {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
}

td {
    color: var(--text-dark);
    font-weight: 500;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-scheduled {
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary);
}

.status-completed {
    background: rgba(6, 214, 160, 0.1);
    color: var(--success);
}

.action-btn {
    text-decoration: none;
    color: var(--whatsapp);
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    background: rgba(37, 211, 102, 0.1);
}

.action-btn:hover {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-small {
    padding: 8px 15px;
    border: none;
    background: #efefef;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-small:hover {
    background: #ddd;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.hidden {
    display: none !important;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    animation: slideUp 0.3s ease-out;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.action-buttons {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
}

.btn-secondary {
    background: none;
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}