/* ============================================
   CSLab.cz - Custom Styles
   Bootstrap 5.3 rozšíření
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --cs-primary: #0d4f8b;
    --cs-primary-dark: #0a3d6b;
    --cs-secondary: #1b9be0;
    --cs-accent: #00a89d;
    --cs-accent-dark: #008f86;
    --cs-danger: #d9534f;
    --cs-light: #f4f8fb;
    --cs-dark: #1a1a2e;
    --cs-text: #2d3748;
    --cs-text-muted: #6b7280;
    --cs-border: #e2e8f0;
    --cs-white: #ffffff;
    --cs-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --cs-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --cs-radius: 12px;
    --cs-radius-sm: 8px;
    --cs-transition: 0.3s ease;
}

/* --- Base --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--cs-text);
    background-color: var(--cs-white);
    line-height: 1.7;
}

::selection {
    background-color: var(--cs-secondary);
    color: var(--cs-white);
}

a {
    color: var(--cs-secondary);
    text-decoration: none;
    transition: color var(--cs-transition);
}

a:hover {
    color: var(--cs-primary);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--cs-primary);
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.lead {
    font-size: 1.15rem;
    color: var(--cs-text-muted);
    font-weight: 400;
}

.text-accent {
    color: var(--cs-accent) !important;
}

.code-badge {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.8rem;
    background: var(--cs-accent);
    color: var(--cs-white);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.code-badge-sm {
    font-size: 0.7rem;
    padding: 2px 8px;
}

/* --- Section Spacing --- */
.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 50px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--cs-accent);
    border-radius: 3px;
}

.section-title p {
    color: var(--cs-text-muted);
    max-width: 600px;
    margin: 20px auto 0;
}

/* --- Navbar --- */
.navbar-cslab {
    background: var(--cs-white) !important;
    padding: 12px 0;
    transition: all var(--cs-transition);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.navbar-cslab.scrolled {
    padding: 6px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-cslab .navbar-brand {
    padding: 0;
}

.navbar-cslab .navbar-brand img {
    height: 48px;
    width: auto;
    transition: height var(--cs-transition);
}

.navbar-cslab.scrolled .navbar-brand img {
    height: 38px;
}

.navbar-cslab .nav-link {
    color: var(--cs-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: color var(--cs-transition);
}

.navbar-cslab .nav-link:hover,
.navbar-cslab .nav-link.active {
    color: var(--cs-primary) !important;
}

.navbar-cslab .dropdown-menu {
    border: none;
    box-shadow: var(--cs-shadow-lg);
    border-radius: var(--cs-radius);
    padding: 10px;
}

.navbar-cslab .dropdown-item {
    border-radius: var(--cs-radius-sm);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.navbar-cslab .dropdown-item:hover {
    background: var(--cs-light);
    color: var(--cs-primary);
}

.btn-client-zone {
    background: var(--cs-primary);
    border: 2px solid var(--cs-primary);
    color: var(--cs-white) !important;
    border-radius: var(--cs-radius-sm);
    padding: 6px 20px !important;
    font-weight: 600;
    font-size: 0.9rem !important;
    transition: all var(--cs-transition);
}

.btn-client-zone:hover {
    background: var(--cs-primary-dark);
    border-color: var(--cs-primary-dark);
    color: var(--cs-white) !important;
}

/* Hamburger icon pro světlý navbar */
.navbar-cslab .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.15);
}

.navbar-cslab .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2845, 55, 72, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Hero --- */
.hero-section {
    background: linear-gradient(135deg, var(--cs-primary) 0%, var(--cs-primary-dark) 100%);
    color: var(--cs-white);
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

/* Spodní vlnka hero — modro-bílý přechod tvaru vlny */
.hero-wave-bottom {
    position: relative;
    background: linear-gradient(135deg, var(--cs-primary) 0%, var(--cs-primary-dark) 100%);
    padding: 40px 0 0;
}

.hero-wave-bottom::after {
    content: '';
    display: block;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23f4f8fb' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.hero-section h1 {
    color: var(--cs-white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--cs-white);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(4px);
}

/* --- Bubbles / Water Decorations --- */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: floatBubble 18s ease-in-out infinite;
}

.bubble:nth-child(1) { width: 80px; height: 80px; left: 5%; top: 20%; animation-delay: 0s; animation-duration: 20s; }
.bubble:nth-child(2) { width: 140px; height: 140px; right: 8%; top: 15%; animation-delay: -3s; animation-duration: 24s; }
.bubble:nth-child(3) { width: 50px; height: 50px; left: 25%; top: 60%; animation-delay: -7s; animation-duration: 16s; }
.bubble:nth-child(4) { width: 200px; height: 200px; right: -40px; top: 35%; animation-delay: -5s; animation-duration: 22s; background: rgba(0, 168, 157, 0.06); border-color: rgba(0, 168, 157, 0.08); }
.bubble:nth-child(5) { width: 35px; height: 35px; left: 60%; top: 75%; animation-delay: -10s; animation-duration: 14s; }
.bubble:nth-child(6) { width: 100px; height: 100px; left: 45%; top: 10%; animation-delay: -2s; animation-duration: 26s; }
.bubble:nth-child(7) { width: 60px; height: 60px; right: 25%; top: 65%; animation-delay: -8s; animation-duration: 18s; }
.bubble:nth-child(8) { width: 25px; height: 25px; left: 15%; top: 45%; animation-delay: -12s; animation-duration: 15s; }

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    25% { transform: translateY(-15px) scale(1.03); opacity: 0.8; }
    50% { transform: translateY(8px) scale(0.97); opacity: 0.5; }
    75% { transform: translateY(-10px) scale(1.02); opacity: 0.7; }
}

/* Molekulární/vodní tečky — decentní pozadí pro světlé sekce */
.water-pattern {
    position: relative;
}

.water-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(27, 155, 224, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 60%, rgba(0, 168, 157, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(13, 79, 139, 0.05) 0%, transparent 45%);
}

/* Plovoucí kapka — SVG dekorace pro sekce */
.deco-droplet {
    position: absolute;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.deco-droplet.left {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.deco-droplet.right {
    right: -30px;
    top: 30%;
}

/* Decentní molekulární body v pozadí page-header */
.page-header .bubbles-container .bubble {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

/* Laboratorní ikona dekorace */
.lab-deco {
    position: absolute;
    color: rgba(255, 255, 255, 0.05);
    font-size: 8rem;
    pointer-events: none;
    z-index: 0;
}

.lab-deco.top-right {
    top: 15%;
    right: 5%;
    transform: rotate(15deg);
}

.lab-deco.bottom-left {
    bottom: 20%;
    left: 3%;
    transform: rotate(-10deg);
}

/* Vodní vlnková animace pro CTA banner */
.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 30%, rgba(255,255,255,0.05) 0%, transparent 40%);
    animation: gentleWave 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gentleWave {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-20px) translateY(10px); }
}

/* Jemné vodní kapičky v pozadí sekcí */
.section-water-bg {
    position: relative;
    overflow: hidden;
}

.section-water-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(27, 155, 224, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.section-water-bg > .container {
    position: relative;
    z-index: 1;
}

/* --- Buttons --- */
.btn-cs-primary {
    background: var(--cs-secondary);
    color: var(--cs-white);
    border: none;
    border-radius: var(--cs-radius-sm);
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--cs-transition);
}

.btn-cs-primary:hover {
    background: var(--cs-primary);
    color: var(--cs-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 79, 139, 0.3);
}

.btn-cs-outline {
    background: transparent;
    color: var(--cs-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--cs-radius-sm);
    padding: 10px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--cs-transition);
}

.btn-cs-outline:hover {
    background: var(--cs-white);
    color: var(--cs-primary);
    border-color: var(--cs-white);
}

.btn-cs-accent {
    background: var(--cs-accent);
    color: var(--cs-white);
    border: none;
    border-radius: var(--cs-radius-sm);
    padding: 12px 30px;
    font-weight: 600;
    transition: all var(--cs-transition);
}

.btn-cs-accent:hover {
    background: var(--cs-accent-dark);
    color: var(--cs-white);
    transform: translateY(-2px);
}

.btn-cs-outline-dark {
    background: transparent;
    color: var(--cs-primary);
    border: 2px solid var(--cs-primary);
    border-radius: var(--cs-radius-sm);
    padding: 10px 28px;
    font-weight: 600;
    transition: all var(--cs-transition);
}

.btn-cs-outline-dark:hover {
    background: var(--cs-primary);
    color: var(--cs-white);
}

/* --- Cards --- */
.card-cs {
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    transition: all var(--cs-transition);
    overflow: hidden;
    background: var(--cs-white);
}

.card-cs:hover {
    transform: translateY(-4px);
    box-shadow: var(--cs-shadow-lg);
}

.card-cs .card-body {
    padding: 28px;
}

.card-cs .card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--cs-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    background: var(--cs-light);
    color: var(--cs-primary);
}

.card-cs .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-cs .card-text {
    color: var(--cs-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Program card - barevný levý okraj */
.card-program {
    border-left: 4px solid var(--cs-secondary);
}

.card-program.cat-pitna { border-left-color: #1b9be0; }
.card-program.cat-uzitkova { border-left-color: #00a89d; }
.card-program.cat-odpadni { border-left-color: #e67e22; }
.card-program.cat-ostatni { border-left-color: #8e44ad; }

/* --- Stats Bar --- */
.stats-bar {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 10;
    border-radius: var(--cs-radius);
    padding: 25px 30px;
}

.stat-item {
    text-align: center;
    padding: 15px;
}

.stat-item .stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--cs-white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--cs-accent) 0%, var(--cs-accent-dark) 100%);
    color: var(--cs-white);
    padding: 60px 0;
    text-align: center;
}

.cta-banner h3 {
    color: var(--cs-white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.cta-banner .btn {
    background: var(--cs-white);
    color: var(--cs-accent);
    font-weight: 700;
    padding: 12px 35px;
    border-radius: var(--cs-radius-sm);
    border: none;
    transition: all var(--cs-transition);
}

.cta-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, var(--cs-primary) 0%, var(--cs-primary-dark) 100%);
    color: var(--cs-white);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%23ffffff' d='M0,25 C360,50 720,0 1080,25 C1260,37 1380,31 1440,25 L1440,50 L0,50 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.page-header h1 {
    color: var(--cs-white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 10px;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item.active {
    color: var(--cs-white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* --- Footer --- */
.footer {
    background: var(--cs-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 0;
}

.footer h5 {
    color: var(--cs-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--cs-transition);
}

.footer a:hover {
    color: var(--cs-accent);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    font-size: 0.9rem;
}

.footer-brand {
    margin-bottom: 15px;
    display: block;
}

.footer-brand img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer .membership-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin: 3px 3px 3px 0;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Filter Pills --- */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-pills .filter-btn {
    background: var(--cs-white);
    color: var(--cs-text);
    border: 2px solid var(--cs-border);
    border-radius: 30px;
    padding: 8px 22px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--cs-transition);
}

.filter-pills .filter-btn:hover,
.filter-pills .filter-btn.active {
    background: var(--cs-primary);
    color: var(--cs-white);
    border-color: var(--cs-primary);
}

/* --- Tables --- */
.table-cs thead th {
    background: var(--cs-primary);
    color: var(--cs-white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 16px;
    border: none;
}

.table-cs tbody td {
    padding: 12px 16px;
    font-size: 0.9rem;
    vertical-align: middle;
}

/* --- Status Badges --- */
.badge-status {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-prihlaseno { background: #dbeafe; color: #1e40af; }
.badge-probihajici { background: #fef3c7; color: #92400e; }
.badge-dokonceno { background: #d1fae5; color: #065f46; }
.badge-cekajici { background: #fde8e8; color: #991b1b; }

/* --- Auth Pages --- */
.auth-page {
    min-height: 100vh;
    background: var(--cs-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: var(--cs-white);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow-lg);
    padding: 40px;
    width: 100%;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo a img {
    height: 60px;
    width: auto;
}

/* --- Multi-step Form --- */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
    gap: 0;
}

.step-indicator .step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cs-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.step-indicator .step .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cs-border);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all var(--cs-transition);
}

.step-indicator .step.active .step-number {
    background: var(--cs-secondary);
    color: var(--cs-white);
    border-color: var(--cs-secondary);
}

.step-indicator .step.completed .step-number {
    background: var(--cs-accent);
    color: var(--cs-white);
    border-color: var(--cs-accent);
}

.step-indicator .step-line {
    width: 60px;
    height: 2px;
    background: var(--cs-border);
    margin: 0 12px;
    align-self: center;
    transition: background var(--cs-transition);
}

.step-indicator .step-line.completed {
    background: var(--cs-accent);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* --- Dashboard --- */
.dashboard-sidebar {
    background: var(--cs-white);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 10px;
    position: sticky;
    top: 90px;
}

.dashboard-sidebar .list-group-item {
    border: none;
    border-radius: var(--cs-radius-sm);
    padding: 12px 18px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--cs-text);
    transition: all var(--cs-transition);
}

.dashboard-sidebar .list-group-item:hover {
    background: var(--cs-light);
    color: var(--cs-primary);
}

.dashboard-sidebar .list-group-item.active {
    background: var(--cs-primary);
    color: var(--cs-white);
}

.dashboard-sidebar .list-group-item i {
    width: 24px;
    margin-right: 8px;
}

.dashboard-navbar {
    background: var(--cs-white) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.dashboard-navbar .navbar-brand img {
    height: 40px;
    width: auto;
}

.metric-card {
    background: var(--cs-white);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 24px;
    text-align: center;
    border-top: 3px solid var(--cs-secondary);
}

.metric-card .metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cs-primary);
}

.metric-card .metric-label {
    font-size: 0.85rem;
    color: var(--cs-text-muted);
    font-weight: 500;
}

.metric-card.accent { border-top-color: var(--cs-accent); }
.metric-card.warning { border-top-color: #f59e0b; }
.metric-card.success { border-top-color: #10b981; }

/* --- Timeline --- */
.timeline-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--cs-border);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.timeline-icon.bg-info { background: #dbeafe; color: #1e40af; }
.timeline-icon.bg-success { background: #d1fae5; color: #065f46; }
.timeline-icon.bg-warning { background: #fef3c7; color: #92400e; }

.timeline-content .timeline-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.timeline-content .timeline-date {
    font-size: 0.8rem;
    color: var(--cs-text-muted);
}

/* --- Contact Form Card --- */
.contact-card {
    background: var(--cs-light);
    border-radius: var(--cs-radius);
    padding: 24px;
    border: 1px solid var(--cs-border);
}

.contact-card i {
    color: var(--cs-secondary);
    font-size: 1.2rem;
}

/* --- Wave Divider --- */
.wave-divider {
    position: relative;
    height: 50px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 90px 0 80px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-decoration,
    .hero-decoration-2 {
        display: none;
    }

    .section-padding {
        padding: 50px 0;
    }

    .page-header {
        padding: 70px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .stat-item {
        padding: 10px;
    }

    .stat-item .stat-number {
        font-size: 1.4rem;
    }

    .auth-card {
        padding: 25px;
    }

    .step-indicator .step span:not(.step-number) {
        display: none;
    }

    .step-indicator .step-line {
        width: 30px;
    }

    .dashboard-sidebar {
        position: static;
    }

    .cta-banner h3 {
        font-size: 1.4rem;
    }
}
