﻿:root {
    color-scheme: light;
    --bs-body-bg: #f2f7f4;
    --bs-body-color: #14251c;
    --bs-primary: #1f6b4a;
    --bs-primary-rgb: 31, 107, 74;
    --bs-secondary: #6c757d;
    --bs-success: #2f9e6e;
    --bs-success-rgb: 47, 158, 110;
    --bs-info: #1f6b4a;
    --bs-info-rgb: 31, 107, 74;
    --bs-warning: #c9a227;
    --bs-warning-rgb: 201, 162, 39;
    --bs-light: #ffffff;
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: radial-gradient(circle at top left, rgba(31, 107, 74, 0.1), transparent 35%), linear-gradient(180deg, #f2f7f4 0%, #f9fdfa 100%);
    color: var(--bs-body-color);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

main {
    padding-top: 1rem;
}

.navbar {
    border-radius: 1.1rem;
}

.navbar-brand {
    letter-spacing: 0.04em;
}

.nav-link {
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

    .nav-link:hover,
    .nav-link:focus {
        color: var(--bs-primary) !important;
        transform: translateY(-1px);
    }

.hero-section {
    background: linear-gradient(135deg, rgba(18, 53, 36, 0.97) 0%, rgba(31, 107, 74, 0.95) 100%);
    border-radius: 1.75rem;
    padding: 4rem 2rem;
    color: white;
    box-shadow: 0 24px 60px rgba(18, 53, 36, 0.2);
}

    .hero-section h1 {
        font-size: clamp(2.75rem, 4vw, 4.5rem);
        font-weight: 800;
        line-height: 1.05;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }

    .hero-section .btn {
        padding: 1rem 2.25rem;
    }

.section-title {
    display: inline-block;
    border-bottom: 4px solid var(--bs-primary);
    padding-bottom: 0.35rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.dashboard-card,
.feature-card,
.info-card {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 18px 50px rgba(33, 37, 41, 0.08);
}

    .dashboard-card .card-body,
    .feature-card .card-body,
    .info-card .card-body {
        padding: 1.75rem;
    }

.table {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
}

    .table thead th {
        background: #f8f9fa;
        border-bottom: 2px solid #dee2e6;
    }

    .table tbody tr:hover {
        background: rgba(31, 107, 74, 0.05);
    }

.table-responsive {
    border-radius: 1rem;
}

.footer {
    color: #6c757d;
}

.form-control,
.form-select,
textarea.form-control {
    border-radius: 1rem;
    box-shadow: none;
    border: 1px solid #dbe4ef;
}

.btn-primary {
    border-radius: 1rem;
    padding: 0.95rem 1.75rem;
}

.btn-outline-primary {
    border-radius: 1rem;
}

.btn-primary:hover {
    background-color: #164f37;
    border-color: #123524;
}

.alert {
    border-radius: 1rem;
}

.page-title {
    font-size: clamp(2rem, 2.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 1.5rem;
    }

        .hero-section h1 {
            font-size: 2.5rem;
        }
}
