/* Global Styles */
body {
    background-color: #F9FAFB;
    font-family: 'Inter', sans-serif;
}

/* Navbar */
.navbar {
    background-color: #FFFFFF !important;
    box-shadow: none !important;
    border-bottom: 1px solid #F3F4F6;
    padding: 16px 0;
}
.navbar-brand {
    font-weight: 700;
    color: #0E5F3D !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-btn {
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    margin-left: 12px;
    transition: all 0.2s;
}
.nav-btn-solid {
    background-color: #0E5F3D;
    color: #FFFFFF;
}
.nav-btn-solid:hover {
    background-color: #0B4A2F;
    color: #FFFFFF;
}
.nav-btn-outline {
    background-color: #E8F5E9;
    color: #0E5F3D;
}
.nav-btn-outline:hover {
    background-color: #C8E6C9;
    color: #0E5F3D;
}

/* Auth Components */
.auth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
}
.auth-header-text {
    text-align: center;
    margin-bottom: 24px;
}
.auth-shield-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}
.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}
.auth-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}
.auth-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 440px;
    padding: 32px 40px;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.form-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    color: #111827;
    background-color: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}
.form-input:focus, .form-control:focus, .form-select:focus {
    outline: none;
    border-color: #dee2e6 !important; /* Neutral border on focus */
    box-shadow: none !important;
}

/* Checkboxes and Radios */
.form-check-input:checked {
    background-color: #0E5F3D !important;
    border-color: #0E5F3D !important;
}
.form-check-input:focus {
    border-color: #0E5F3D !important;
    box-shadow: none !important;
}
.form-input.has-error {
    border-color: #EF4444;
}
.form-input.has-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.password-wrapper .form-input {
    padding-right: 40px;
}
.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 0;
    color: #9CA3AF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.password-toggle:hover {
    color: #4B5563;
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 70px; /* Space for mobile nav */
    }
    
    .hero-title {
        font-size: 2.5rem !important; /* Scale down massive hero text on mobile */
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 1020;
    border-top: 1px solid #F3F4F6;
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #9CA3AF;
    font-size: 11px;
    font-weight: 500;
    gap: 4px;
    width: 60px;
}
.mobile-bottom-nav .nav-item.active {
    color: #0E5F3D;
}
.mobile-bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}
.mobile-bottom-nav .nav-item.active i {
    color: #0E5F3D;
}
.mobile-bottom-nav .fab-wrapper {
    position: relative;
    top: -24px;
}
.mobile-bottom-nav .fab-button {
    width: 56px;
    height: 56px;
    background-color: #0E5F3D;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(14, 95, 61, 0.4);
    border: 5px solid #ffffff;
    transition: transform 0.2s ease;
    text-decoration: none;
}
.mobile-bottom-nav .fab-button:active {
    transform: scale(0.95);
}
.mobile-bottom-nav .fab-button i {
    font-size: 22px;
}

/* App Layout Utilities */
.brand-icon {
    color: #0E5F3D;
    font-size: 24px;
}
.brand-highlight {
    color: #F59E0B;
}
.nav-link {
    font-weight: 500;
    color: #6B7280;
    position: relative;
    transition: color 0.2s ease;
}
.nav-link:hover {
    color: #111827;
}
.nav-link.active {
    color: #0E5F3D !important;
    font-weight: 600;
}
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: #0E5F3D;
    border-radius: 3px;
}

.btn-report {
    background-color: #EBF1EA;
    color: #0E5F3D;
    border-radius: 50rem;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.2s ease;
    border: 1px solid #d4e2d3;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.btn-report:hover {
    background-color: #0E5F3D;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(14, 95, 61, 0.2);
}
.nav-user-initials {
    width: 24px;
    height: 24px;
    background-color: #0E5F3D;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}
.mobile-menu {
    width: 320px !important;
}
.mobile-home-link {
    color: #6B7280;
    font-weight: 500;
    font-size: 16px;
}
.password-toggle:focus {
    outline: none;
}
.error-message {
    display: block;
    color: #EF4444;
    font-size: 12px;
    margin-top: 6px;
}
.back-to-home {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    width: 100%;
    max-width: 440px;
    margin-bottom: 16px;
}
.back-to-home:hover {
    color: #0E5F3D;
}
.btn-register {
    width: 100%;
    padding: 12px;
    background-color: #0E5F3D;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}
.btn-register:hover {
    background-color: #0B4A2F;
}
.btn-register:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: #6B7280;
}
.auth-footer a {
    color: #0E5F3D;
    font-weight: 600;
    text-decoration: none;
}
.auth-footer a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
}
.text-highlight {
    color: #F59E0B;
}
.hero-subtitle {
    color: #6B7280;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
}
.hero-card {
    background: white;
    border-radius: 20px;
    padding: 64px 40px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
}
.hero-icon {
    fill: #0E5F3D;
    margin-bottom: 24px;
    transform: scaleX(-1);
}
.hero-card-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    font-size: 1.75rem;
}
.hero-card-text {
    color: #6B7280;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 400px;
}

/* Standard Buttons Override */
.btn-primary {
    background-color: #0E5F3D;
    color: white;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    box-shadow: 0 4px 12px rgba(14, 95, 61, 0.2);
    transition: all 0.2s ease;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #0B4A2F !important;
    color: white !important;
    box-shadow: 0 6px 16px rgba(14, 95, 61, 0.3) !important;
    border: none !important;
}

.btn-secondary {
    background-color: #E8F5E9;
    color: #0E5F3D;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    transition: all 0.2s ease;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: #C8E6C9 !important;
    color: #0E5F3D !important;
    border: none !important;
}

/* Dashboard Styles */
.dashboard-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #F3F4F6;
}
.dashboard-card-header {
    border-bottom: 1px solid #F3F4F6;
}
.dashboard-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: #E8F5E9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}
.dashboard-title {
    margin: 0;
    font-weight: 600;
    color: #111827;
}
.dashboard-subtitle {
    margin: 0;
    color: #6B7280;
    font-size: 14px;
}
.dashboard-alert {
    border-radius: 8px;
    font-size: 14px;
}
.dashboard-empty-icon {
    margin-bottom: 16px;
}
.dashboard-empty-title {
    color: #374151;
    font-weight: 500;
}
.dashboard-empty-text {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 24px;
}

/* Pagination Overrides */
.pagination .page-link {
    color: #0E5F3D;
}
.pagination .page-item.active .page-link {
    background-color: #0E5F3D;
    border-color: #0E5F3D;
    color: white;
}
.pagination .page-link:hover {
    color: #0B4A2F;
    background-color: #F9FAFB;
}
.pagination .page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(14, 95, 61, 0.25);
}

/* App Layout & Containers */
.app-container {
    max-width: 1100px;
}

/* Filter Card */
.filter-card {
    background-color: #F8FAF8;
    border: 1px solid #e2e8e0 !important;
}
.filter-card-header {
    cursor: pointer;
}
.filter-header-text {
    font-size: 15px;
}
.filter-header-icon {
    font-size: 12px;
}
.filter-select {
    color: #495057;
}

/* Loading Overlay */
.issues-container {
    min-height: 400px;
}
.loading-overlay {
    background: rgba(255,255,255,0.6);
    z-index: 10;
}
.loading-spinner {
    color: #0E5F3D;
    width: 3rem;
    height: 3rem;
}

/* Issue Card */
.issue-card {
    border: 1px solid #e2e8e0 !important;
    background-color: #FAFBFA;
    transition: all 0.2s;
}
.issue-card:hover {
    border-color: #0E5F3D !important;
    box-shadow: 0 .5rem 1rem rgba(14, 95, 61, .15) !important;
}
.issue-card-title {
    font-size: 16px;
    line-height: 1.4;
}
.issue-card-meta {
    font-size: 13px;
}

/* Status Badges */
.badge-verified {
    background-color: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd !important;
}
.badge-resolved {
    background-color: #EBF1EA;
    color: #0E5F3D;
    border-color: #d4e2d3 !important;
}
.badge-pending {
    background-color: #fef9c3;
    color: #ca8a04;
    border-color: #fef08a !important;
}
.badge-rejected {
    background-color: #fee2e2;
    color: #dc2626;
    border-color: #fecaca !important;
}
.badge-default {
    background-color: #f8f9fa;
    color: #495057;
    border-color: #dee2e6 !important;
}

/* Explore Page Specific */
.explore-hero {
    background-color: #EBF1EA;
    border: 1px solid #d4e2d3;
}
