/*
 * MedBook — Custom Styles
 * Built on top of Bootstrap 5
 */

/* ─── Fonts ──────────────────────────────────── */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fc;
}

/* ─── Navbar ─────────────────────────────────── */
.bg-gradient-primary {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%) !important;
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: -0.3px;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.navbar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ─── Hero Section ───────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 50%, #01579b 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

/* ─── Cards ──────────────────────────────────── */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.card {
    border-radius: 0.75rem;
}

/* ─── Avatar ─────────────────────────────────── */
.avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1565c0;
}

.avatar-circle.avatar-lg {
    width: 120px;
    height: 120px;
    font-size: 3rem;
}

/* ─── Feature Icons ──────────────────────────── */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Status Badges ──────────────────────────── */
.badge {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ─── Time Slots ─────────────────────────────── */
.slot-btn {
    min-width: 100px;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.slot-btn.active {
    transform: scale(1.05);
}

.slot-btn:disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

/* ─── Footer ─────────────────────────────────── */
.footer {
    margin-top: auto;
}

.footer a:hover {
    color: #90caf9 !important;
}

/* ─── Dashboard Sidebar ──────────────────────── */
.nav-link.active {
    background-color: rgba(26, 115, 232, 0.1);
    color: #1a73e8 !important;
    font-weight: 600;
}

/* ─── Forms ──────────────────────────────────── */
.form-control:focus,
.form-select:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.15);
}

/* ─── Tables ─────────────────────────────────── */
.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

/* ─── Alerts ─────────────────────────────────── */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* ─── Breadcrumb ─────────────────────────────── */
.breadcrumb {
    background: none;
    padding: 0;
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .card-body {
        padding: 1rem;
    }
}
