/* Main styles for Illuminating */

/* ==========================================================================
   CONSOLIDATED CSS CLASSES - Reusable Components
   ========================================================================== */

/* Dashboard Layout Classes */
.dashboard-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: block;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stats-grid-wide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stats-card {
    background: #FAFBFB;
    border: 1px solid #DADADA;
    border-radius: 16px;
    padding: 20px;
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stats-header .bi-people {
    font-size: 24px;
}

.stats-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin: 0;
}

.stats-number {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    color: #000000;
    margin-bottom: 8px;
}

.stats-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #6D6D6D;
    margin: 0 0 16px 0;
}

/* Collapsible Section Classes */
.collapsible-section {
    background: #FFFFFF;
    border: 1px solid #DADADA;
    border-radius: 16px;
    margin: 24px 0;
    overflow: hidden;
}

.collapsible-header {
    padding: 16px 20px;
    background: #FAFBFB;
    border-bottom: 1px solid #DADADA;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.collapsible-header:hover {
    background: #f0f1f2;
}

.collapsible-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin: 0;
}

.collapsible-content {
    padding: 20px;
    display: none;
}

.collapsible-content.active {
    display: block;
}

.collapsible-icon {
    font-size: 16px;
    color: #6D6D6D;
    transition: transform 0.2s ease;
}

.icon-margin {
    margin-right: 8px;
}

/* Table Styling Classes */
.dashboard-table-wrapper {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

/* Mobile-friendly table styles (non-dashboard tables only) */
@media (max-width: 768px) {
    .dashboard-table-wrapper:not(.dashboard-exclude-mobile) {
        overflow-x: visible;
    }
    
    .dashboard-table:not(.dashboard-exclude-mobile) {
        display: block;
        width: 100%;
    }
    
    .dashboard-table:not(.dashboard-exclude-mobile) thead {
        display: none;
    }
    
    .dashboard-table:not(.dashboard-exclude-mobile) tbody {
        display: block;
        width: 100%;
    }
    
    .dashboard-table:not(.dashboard-exclude-mobile) tr {
        display: block;
        margin-bottom: 16px;
        padding: 16px;
        background: #FFFFFF;
        border: 1px solid #DADADA;
        border-radius: 12px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .dashboard-table:not(.dashboard-exclude-mobile) td {
        display: block;
        text-align: left;
        padding: 8px 0;
        border: none;
        border-bottom: 1px solid rgba(218, 218, 218, 0.3);
    }
    
    .dashboard-table:not(.dashboard-exclude-mobile) td:last-child {
        border-bottom: none;
    }
    
    .dashboard-table:not(.dashboard-exclude-mobile) td:before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #000000;
        display: inline-block;
        min-width: 80px;
    }
    
    .dashboard-table:not(.dashboard-exclude-mobile) .action-btn {
        min-height: 44px;
        margin: 4px 0;
        width: 100%;
        justify-content: center;
    }
}

.dashboard-table thead tr {
    background: #FAFBFB;
}

.dashboard-table th {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid #DADADA;
    font-weight: 600;
}

.dashboard-table th.center {
    text-align: center;
}

.dashboard-table td {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(218, 218, 218, 0.3);
}

.dashboard-table td.center {
    text-align: center;
}

.dashboard-table .cell-title {
    font-weight: 600;
    color: #000000;
}

.dashboard-table .cell-meta {
    color: #6D6D6D;
}

.dashboard-table .cell-link {
    font-weight: 600;
    color: #000000;
    text-decoration: none;
}

.dashboard-table .cell-link:hover {
    color: #007bff;
}

/* Status Badge Styling */
.status-active {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-inactive {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-submitted {
    background: #ffc107;
    color: #000000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-published {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-rejected {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-approved {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}


.cell-title {
    margin-bottom: 24px;
}

/* Action Button Classes */
.action-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    height: 44px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.action-btn-primary {
    background: #D5FF2E;
    color: #000000;
}

.action-btn-primary:hover {
    background: #c5ef1e;
    color: #000000;
    transform: translateY(-1px);
}

.action-btn-secondary {
    background: transparent;
    color: #000000;
    border: 1px solid #DADADA;
}

.action-btn-secondary:hover {
    background: #f8f9fa;
    color: #000000;
    transform: translateY(-1px);
}

.action-btn-small {
    padding: 0 12px;
    height: 32px;
    font-size: 12px;
}

.action-btn-danger {
    background: #dc3545;
    color: white;
}

.action-btn-danger:hover {
    background: #c82333;
    color: white;
    transform: translateY(-1px);
}

.action-btn-success {
    background: #28a745;
    color: white;
}

.action-btn-success:hover {
    background: #218838;
    color: white;
    transform: translateY(-1px);
}

/* Search and Form Input Classes */
.search-input {
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1px solid #DADADA;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: #FAFBFB;
    border: 1px solid #DADADA;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6D6D6D;
}

/* Full width textarea styling for Django forms */
/* Form textarea and input styles are handled by forms.css */

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Count Badge */
.count-badge {
    background: #D5FF2E;
    color: #000000;
    padding: 4px 8px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
}

.count-badge-warning {
    background: #ffc107;
    color: #000000;
    padding: 4px 8px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
}

/* Role Badge */
.role-badge {
    background: #6c757d;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 4px;
}

/* Info Box Classes */
.info-box {
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-box-blue {
    background: #E3F2FD;
    border: 1px solid #BBDEFB;
}

.info-box-blue .info-icon {
    font-size: 20px;
    color: #1976D2;
    margin-top: 2px;
}

.info-box-blue .info-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #1976D2;
}

.info-box-green {
    background: #D4EDDA;
    border: 1px solid #C3E6CB;
}

.info-box-green .info-icon {
    font-size: 20px;
    color: #155724;
}

.info-box-green .info-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #155724;
}

.info-box-yellow {
    background: #FFF3CD;
    border: 1px solid #FFECB5;
}

.info-box-yellow .info-icon {
    font-size: 20px;
    color: #856404;
}

.info-box-yellow .info-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #856404;
}

/* User Management Specific Classes */
.user-management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.user-management-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 50px;
    line-height: 43px;
    color: #000000;
    margin: 0;
}

.user-search-row {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    max-width: none;
}

.user-search-col {
    flex: 1;
}

.user-filter-row {
    flex: 1;
    display: flex;
    gap: 16px;
}

.user-filter-col {
    flex: 1;
}

.user-search-input-row {
    display: flex;
    gap: 8px;
}

.user-search-clear-btn {
    white-space: nowrap;
}

.user-table-wrapper {
    overflow-x: auto;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
}

.user-table thead tr {
    background: #FAFBFB;
    border-bottom: 1px solid #DADADA;
}

.user-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #000000;
}

.user-table tbody tr {
    border-bottom: 1px solid #DADADA;
    transition: background-color 0.2s ease;
}

.user-table tbody tr:hover {
    background-color: #FAFBFB;
}

.user-table td {
    padding: 16px;
    font-size: 14px;
}

.user-table .cell-username {
    color: #000000;
    font-weight: 600;
}

.user-table .cell-text {
    color: #6D6D6D;
}

.user-table .cell-date {
    font-size: 12px;
    color: #6D6D6D;
    font-family: 'Chivo Mono', monospace;
}

.user-roles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.user-role-badge {
    background: #D5FF2E;
    color: #000000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.user-actions-dropdown {
    font-size: 14px;
    height: 36px;
}

.user-actions-dropdown .bi-chevron-down {
    margin-left: 4px;
}

.user-dropdown-menu {
    border: 1px solid #DADADA;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.user-dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
}

.user-dropdown-divider {
    margin: 4px 0;
    border-color: #DADADA;
}

.user-dropdown-danger {
    color: #dc3545;
}

.user-dropdown-success {
    color: #28a745;
}

.user-no-results {
    margin-top: 20px;
    display: none;
}

/* Modal Styling for User Management */
.user-modal-content {
    border: 1px solid #DADADA;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.user-modal-header {
    background: #FAFBFB;
    border-bottom: 1px solid #DADADA;
    border-radius: 16px 16px 0 0;
    padding: 20px;
}

.user-modal-body {
    padding: 20px;
}

.user-modal-username {
    color: #000000;
}

.user-modal-description {
    font-size: 14px;
    color: #6D6D6D;
    margin-bottom: 20px;
}

.user-role-item {
    background: #FAFBFB;
    border: 1px solid #DADADA;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
}

.user-role-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-role-name {
    font-weight: 600;
    font-size: 14px;
    color: #000000;
}

.user-role-actions {
    display: flex;
    gap: 8px;
}

.user-role-add-btn {
    background: #28A745;
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    height: 32px;
}

.user-role-remove-btn {
    background: #DC3545;
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    height: 32px;
}

.user-modal-warning {
    background: #FFF3CD;
    border: 1px solid #FFEAA7;
}

.user-modal-warning-icon {
    font-size: 16px;
    color: #856404;
}

.user-modal-warning-text {
    font-size: 14px;
    color: #856404;
}

.user-modal-footer {
    background: #FAFBFB;
    border-top: 1px solid #DADADA;
    border-radius: 0 0 16px 16px;
    padding: 16px 20px;
}

/* Utility Classes for Common Inline Styles */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-column-gap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 1px solid #DADADA;
    border-radius: 10px;
    text-decoration: none;
    color: #000000;
    transition: all 0.2s ease;
}

.link-card:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    color: #000000;
    text-decoration: none;
}

.link-card-with-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 1px solid #DADADA;
    border-radius: 10px;
    text-decoration: none;
    color: #000000;
    transition: all 0.2s ease;
}

.link-card-with-badge:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    color: #000000;
    text-decoration: none;
}

/* Typography Classes */
/* .page-title moved to typography.css */

/* .form-label and .form-helper-text moved to typography.css */

/* Layout Classes */
.page-container {
    padding: 120px 20px 40px;
    min-height: 100vh;
    width: 100%;
}

.main-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.content-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.form-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 20px 40px;
    min-height: 100vh;
    background: #FFFFFF;
}

.form-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 32px;
    width: 100%;
    max-width: 1013px;
}

/* .form-field moved to layout.css as .form-field-container */

/* Component Classes */
/* .sidebar-filter, .sidebar-header, .sidebar-body moved to layout.css as .sidebar-card, .sidebar-card-header, .sidebar-card-content */

.filter-link {
    padding: 8px 12px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #000000;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
}

.filter-link:hover {
    background: #f8f9fa;
    color: #000000;
}

.filter-link--active {
    background: #D5FF2E;
    color: #000000;
    font-weight: 600;
}

.search-input-container {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 8px;
    background: #FAFBFB;
    border: 1px solid #DADADA;
    border-radius: 10px;
}

.cta-card {
    background: #FAFBFB;
    border: 1px solid #DADADA;
    border-radius: 16px;
    padding: 20px;
    margin-top: 32px;
    text-align: center;
}

/* Badge and Status Classes */
.badge-primary {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-secondary {
    background: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-success {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-warning {
    background: #ffc107;
    color: #212529;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-danger {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* Button Classes - .btn-primary-large and .btn-secondary-large moved to components.css as .btn-primary-custom and .btn-secondary-custom */

/* Hero Section Classes */
.detail-hero {
    width: 100%;
    /* min-height: 500px; */
    background: white;
    position: relative;
    overflow: hidden;
}

.detail-hero-content {
    max-width: 840px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* Clickable Card Components */
.clickable-card {
    cursor: pointer !important;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.clickable-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}

.clickable-card * {
    cursor: pointer !important;
    pointer-events: none;
}
/* 
.clickable-card:focus {
    outline: 2px solid #D5FF2E;
    outline-offset: 2px;
} */

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mt-16 { margin-top: 16px; }
.gap-24 { gap: 24px; }
.gap-16 { gap: 16px; }
.gap-12 { gap: 12px; }

/* Text Formatting Classes */
.text-extra-bold { 
    font-weight: 1000 !important; 
}

/* Media Queries for Consolidated Classes */
@media (max-width: 768px) {
    /* .page-title responsive styles moved to typography.css */
    
    .content-row {
        flex-direction: column;
        gap: 24px;
    }
    
    /* .sidebar-filter responsive styles moved to layout.css */
    
    /* .form-field responsive styles moved to layout.css */
    
    .detail-hero-content {
        padding: 40px 20px;
    }
    
    .detail-actions {
        justify-content: center;
    }
    
    /* Touch target improvements - minimum 44px */
    .action-btn,
    /* .btn-primary-large, .btn-secondary-large moved to components.css */
    .search-button,
    .view-all-button,
    .nav-btn,
    .projection-icon-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 16px;
        touch-action: manipulation;
    }
    
    /* Links and clickable elements */
    .nav-link,
    .nav-auth-link,
    .nav-user-link,
    .filter-link,
    .content-title a,
    .link-card,
    .link-card-with-badge {
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }
    
    /* Category badges and status badges */
    .category-badge,
    .badge-primary,
    .badge-secondary,
    .badge-success,
    .badge-warning,
    .badge-danger,
    .status-active,
    .status-inactive,
    .status-submitted,
    .status-published,
    .status-rejected,
    .status-approved {
        min-height: 32px;
        padding: 8px 12px;
        display: inline-flex;
        align-items: center;
        touch-action: manipulation;
    }
    
    /* Form inputs and controls */
    .form-input,
    .search-input,
    .form-control,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="url"],
    select,
    textarea {
        min-height: 44px;
        padding: 12px 16px;
        touch-action: manipulation;
    }
    
    /* Checkboxes and radio buttons */
    input[type="checkbox"],
    input[type="radio"] {
        min-width: 20px;
        min-height: 20px;
        touch-action: manipulation;
    }
}

/* ==========================================================================
   ORIGINAL STYLES (kept for backward compatibility)
   ========================================================================== */

/* Layout styles */
html, body {
    height: 100%; 
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body {
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    margin: 0;
    padding: 0;
}

.content-wrapper {
    flex-grow: 1; 
    padding: 0; /* Remove default padding for full-width sections */
}

/* Message Overlay - Position messages below header and on top of content */
.message-overlay {
    position: fixed;
    top: 85px; /* Position below navigation (nav height ~69px + margin) */
    left: 20px;
    right: 20px;
    z-index: 999; /* Below navigation (z-index: 1000) but above content */
    pointer-events: none; /* Allow clicks to pass through the container */
}

.message-overlay .alert {
    pointer-events: auto; /* Re-enable clicks on actual alert messages */
    max-width: 1200px;
    margin: 0 auto 16px auto; /* Center alerts and add bottom margin between multiple messages */
    padding: 16px 20px;
    border-radius: 13px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Success messages */
.message-overlay .alert-success {
    background: #F0F9E8;
    border: 1px solid #B9E11D;
    color: #2D5016;
}

/* Error messages */
.message-overlay .alert-error,
.message-overlay .alert-danger {
    background: #FEF2F2;
    border: 1px solid #F87171;
    color: #7F1D1D;
}

/* Warning messages */
.message-overlay .alert-warning {
    background: #FFFBEB;
    border: 1px solid #F59E0B;
    color: #92400E;
}

/* Info messages */
.message-overlay .alert-info {
    background: #EFF6FF;
    border: 1px solid #3B82F6;
    color: #1E3A8A;
}

/* Close button styling */
.message-overlay .alert .btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    opacity: 0.6;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    color: currentColor;
}

.message-overlay .alert .btn-close:hover {
    opacity: 1;
}

.message-overlay .alert .btn-close::before {
    content: "×";
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 860px;
    background: #FFFFFF;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    width: 120%;
    height: 120%;
    left: -10%;
    top: -10%;
    background: url('/static/images/im_hero_bg.png') center/cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    width: 530px;
    height: 860px;
    right: 0;
    top: 0;
    background: linear-gradient(270deg, #000000 61.9%, rgba(0, 0, 0, 0) 97.38%);
    opacity: 0.1;
    z-index: 2;
}

.hero-content {
    position: relative;
    height: 100%;
    z-index: 3;
}

/* Search Card */
.search-card {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 270px;
    min-height: 360px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 14px 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
}

.search-title {
    font-family: 'Bebas Neue', cursive;
    font-weight: 400;
    font-size: 39px;
    line-height: 36px;
    text-align: center;
    color: #000000;
    margin: 0;
    width: 202px;
}

.search-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #6D6D6D;
    margin: 0;
    width: 246px;
}

.search-form {
    width: 246px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    padding: 13px 17px;
    gap: 12px;
    background: rgba(231, 232, 238, 0.4);
    border: 1px solid #DBDBE2;
    border-radius: 12px;
    height: 44px;
    box-sizing: border-box;
}

.search-input-wrapper .search-input {
    flex: 1;
}

.search-icon {
    width: 16px;
    height: 16px;
    color: #000000;
}

.search-input:focus {
    opacity: 1;
}

.search-input::placeholder {
    color: #000000;
    opacity: 0.23;
}

.search-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 11px 1px;
    height: 44px;
    background: #D5FF2E;
    border-radius: 10px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    color: #000000;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-button:hover {
    background: #c5ef1e;
    transform: translateY(-1px);
}

/* Search Tabs */
.search-tabs {
    display: flex;
    width: 246px;
    background: rgba(231, 232, 238, 0.4);
    border: 1px solid #DBDBE2;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 16px;
}

.search-tab {
    flex: 1;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #6D6D6D;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-tab.active {
    background: #FFFFFF;
    color: #000000;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-tab:hover:not(.active) {
    color: #000000;
    background: rgba(255, 255, 255, 0.5);
}

.search-tab-content {
    display: none;
    width: 100%;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: space-between;
}

.search-tab-content.active {
    display: flex;
    flex-direction: column;
}

.search-tab-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex: 1;
}

/* Hero Text */
.hero-text {
    position: absolute;
    width: 295px;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 23px;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    padding: 24px;
    min-height: 340px;
}

.hero-text-content {
    transition: opacity 0.3s ease-in-out;
}

.hero-text-content.hidden {
    display: none;
}

.hero-text h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.hero-text li {
    font-size: 15px;
    line-height: 23px;
    margin-bottom: 12px;
    text-align: left;
    padding-left: 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    text-indent: 0;
}

.hero-text ol {
    padding-left: 0;
    margin-left: 0;
    list-style: none;
}

.hero-text .number {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 1px;
}

.hero-text li .text-content {
    flex: 1;
    text-align: left;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    width: 100%;
    overflow-x: hidden;
}

.content-section .container {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-weight: 400;
    font-size: 50px;
    line-height: 43px;
    color: #000000;
    margin: 0 0 40px 0;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 56px;
    border-bottom: 1px solid rgba(109, 109, 109, 0.3);
    padding-bottom: 40px;
}

.content-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 7px;
    padding: 20px 0 0;
    border-top: 1px solid rgba(109, 109, 109, 0.3);
    position: relative;
}

.content-item:first-child {
    border-top: none;
    padding-top: 0;
}

.content-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    width: 211px;
    min-height: 25px;
}

.category-badge {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 6px 5px;
    gap: 5px;
    background: #FFFFFF;
    border: 1px solid #DADADA;
    border-radius: 7px;
    height: 25px;
    box-sizing: border-box;
}

.category-badge i {
    width: 13px;
    height: 13px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-badge span {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.01em;
    color: #000000;
}

.content-date {
    font-family: 'Chivo Mono', monospace;
    font-weight: 300;
    font-size: 13px;
    line-height: 15px;
    text-transform: uppercase;
    color: #6D6D6D;
}

.content-title {
    flex: 1;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 107%;
    letter-spacing: -0.05em;
    color: #000000;
}

.content-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.content-title a:hover {
    color: #333;
}

.content-title-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.fact-count-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 7px;
    width: fit-content;
    height: 26px;
    background: #D5FF2E;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.01em;
    color: #000000;
}

.section-footer {
    display: flex;
    justify-content: center;
    padding: 8px 0 0;
}

.view-all-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 11px 1px;
    width: 250px;
    height: 44px;
    border: 0.87px solid #DADADA;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.view-all-button:hover {
    background: #f8f9fa;
    color: #000000;
    transform: translateY(-1px);
}

.no-content {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #6D6D6D;
    text-align: center;
    padding: 40px 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .search-card {
        left: 40px;
    }
    
    .hero-text {
        right: 40px;
        width: 240px;
        font-size: 24px;
        line-height: 28px;
    }
}

@media (max-width: 980px) {
    .search-card {
        left: 20px;
        width: 250px;
    }
    
    .hero-text {
        right: 20px;
        width: 200px;
        font-size: 22px;
        line-height: 26px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 60px 0;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0 20px;
    }
    
    .search-card {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0;
        width: 280px;
    }
    
    .hero-text {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        text-align: center;
        padding: 24px;
        font-size: 20px;
        line-height: 24px;
        color: #FFFFFF;
    }
    
    .hero-overlay {
        display: none;
    }
    
    .section-title {
        font-size: 40px;
        text-align: left;
    }
    
    .search-title {
        font-size: 32px;
        line-height: 30px;
    }
    
    .content-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .content-meta {
        width: 100%;
        justify-content: flex-start;
    }
    
    .content-title {
        font-size: 28px;
    }
}

/* Medium mobile screens - 480px and below */
@media (max-width: 480px) {
    .hero-section {
        height: auto;
        padding: 40px 0;
    }
    
    .search-card {
        width: calc(100% - 40px);
        max-width: 300px;
        margin: 30px auto;
        padding: 30px 12px 14px;
    }
    
    .search-title {
        font-size: 28px;
        line-height: 26px;
        width: auto;
    }
    
    .search-subtitle {
        width: auto;
        font-size: 13px;
    }
    
    .search-form {
        width: 100%;
    }
    
    .hero-text {
        font-size: 18px;
        line-height: 22px;
        padding: 24px;
    }
    
    .section-title {
        font-size: 34px;
        line-height: 36px;
    }
    
    .content-title {
        font-size: 24px;
        line-height: 28px;
    }
    
    /* .page-title responsive styles moved to typography.css */
    
    .content-section .container {
        padding: 0 16px;
    }
}

/* Small mobile screens - 360px and below */
@media (max-width: 360px) {
    .hero-section {
        height: auto;
        padding: 30px 0;
    }
    
    .search-card {
        width: calc(100% - 24px);
        margin: 20px auto;
        padding: 24px 8px 12px;
    }
    
    .search-title {
        font-size: 24px;
        line-height: 24px;
    }
    
    .search-subtitle {
        font-size: 12px;
        line-height: 16px;
    }
    
    .hero-text {
        font-size: 16px;
        line-height: 20px;
        padding: 0 12px;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 32px;
    }
    
    .content-title {
        font-size: 20px;
        line-height: 24px;
    }
    
    /* .page-title responsive styles moved to typography.css */
    
    .content-section .container {
        padding: 0 12px;
    }
    
    .content-section {
        padding: 40px 0;
    }
}

/* Navigation Styles */
.home-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 20px 8px 14px;
    gap: 36px;
    position: absolute;
    width: fit-content;
    min-width: 600px;
    height: 48px;
    left: 50%;
    transform: translateX(-50%);
    top: 16px;
    background: #000000;
    border-radius: 13px;
    z-index: 1000;
}

/* Light navigation variant for content pages */
.home-nav.nav-page {
    background: #FAFBFB;
    border: 1px solid rgba(218, 218, 218, 0.6);
    height: 53px;
    padding: 10px 20px 11px 14px;
    width: calc(100% - 40px);
    left: 20px;
    transform: none;
    border-radius: 13px;
}

.home-nav.nav-page .nav-icon {
    background: url('data:image/svg+xml;utf8,<svg width="33" height="35" viewBox="0 0 33 35" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M27.7399 0.591309C30.7484 5.80208 32.2288 11.7546 32.0118 17.7676C31.7948 23.7806 29.8891 29.611 26.5129 34.5913L-0.00878906 16.612L27.7399 0.591309Z" fill="url(%23paint0_linear_78_370)"/><defs><linearGradient id="paint0_linear_78_370" x1="-20.3197" y1="13.3199" x2="30.9765" y2="27.0646" gradientUnits="userSpaceOnUse"><stop offset="0.35" stop-color="black" stop-opacity="0"/><stop offset="1" stop-color="black"/></linearGradient></defs></svg>') no-repeat center center;
    background-size: contain;
}

.home-nav.nav-page .nav-brand-text {
    color: #000000;
}

.home-nav.nav-page .nav-link {
    color: #000000;
}

.home-nav.nav-page .nav-link:hover {
    color: #B9E11D;
}

.home-nav.nav-page .nav-btn {
    background: #D5FF2E;
    border: 0.87px solid #B9E11D;
    color: #000000;
}

.home-nav.nav-page .nav-btn:hover {
    background: #C8F221;
    border-color: #A8D417;
    color: #000000;
}

.home-nav.nav-page .nav-user-link,
.home-nav.nav-page .nav-auth-link {
    color: #000000;
}

.home-nav.nav-page .nav-user-link:hover,
.home-nav.nav-page .nav-auth-link:hover {
    color: #B9E11D;
}

.home-nav.nav-page .nav-center {
    margin-left: auto;
}


.nav-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 11.13px;
    min-width: 130.16px;
}

.nav-icon {
    width: 33px;
    height: 35px;
    background: url('data:image/svg+xml;utf8,<svg width="33" height="35" viewBox="0 0 33 35" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M27.7399 0.591309C30.7484 5.80208 32.2288 11.7546 32.0118 17.7676C31.7948 23.7806 29.8891 29.611 26.5129 34.5913L-0.00878906 16.612L27.7399 0.591309Z" fill="url(%23paint0_linear_78_370)"/><defs><linearGradient id="paint0_linear_78_370" x1="-20.3197" y1="13.3199" x2="30.9765" y2="27.0646" gradientUnits="userSpaceOnUse"><stop offset="0.35" stop-color="white" stop-opacity="0"/><stop offset="1" stop-color="white"/></linearGradient></defs></svg>') no-repeat center center;
    background-size: contain;
}

.nav-brand-text {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 17.6184px;
    line-height: 21px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #D5FF2E;
}

.nav-center {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.nav-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
}

.nav-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 11.3728px 1px;
    gap: 9.62px;
    height: 32px;
    background: #D5FF2E;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.02em;
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: #c5ef1e;
    color: #000000;
    transform: translateY(-1px);
}

.nav-user, .nav-auth {
    display: flex;
    align-items: center;
}

.nav-user-link, .nav-auth-link {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-user-link:hover, .nav-auth-link:hover {
    color: #D5FF2E;
}

.nav-auth {
    display: flex;
    gap: 15px;
}

/* Mobile hamburger menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.home-nav.nav-page .hamburger-line {
    background-color: #000000;
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop-only elements */
.desktop-only {
    display: flex;
}

/* Hide mobile-menu-close button on desktop */
.mobile-menu-close {
    display: none;
}

/* Mobile navigation overlay */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    .home-nav {
        position: relative;
        width: 100%;
        min-width: unset; /* Remove desktop min-width constraint */
        left: auto;
        transform: none;
        top: 0;
        border-radius: 0;
        padding: 12px 20px;
        height: auto;
        gap: 16px; /* Reduce gap from desktop 36px */
    }
    
    .home-nav.nav-page {
        width: 100%;
        left: 0;
        border-radius: 0;
        padding: 12px 20px;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-center {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: auto;
        max-height: 80vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 32px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1050;
        padding: 80px 20px 40px 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: #FFFFFF;
        font-size: 24px;
        cursor: pointer;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
        z-index: 1051;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.1);
    }
    
    .home-nav.nav-page .mobile-menu-close {
        color: #000000;
    }
    
    .home-nav.nav-page .mobile-menu-close:hover {
        background: rgba(0, 0, 0, 0.1);
    }
    
    .home-nav.nav-page .nav-center {
        background: rgba(250, 251, 251, 0.95);
    }
    
    .nav-center.nav-mobile-open {
        transform: translateX(0);
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 24px;
        text-align: center;
        flex-shrink: 0;
    }
    
    .nav-link {
        font-size: 24px;
        line-height: 32px;
        padding: 12px 24px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .home-nav.nav-page .nav-link {
        color: #000000;
    }
    
    .nav-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 280px;
        flex-shrink: 0;
        margin-top: 16px;
    }
    
    .nav-btn {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
        padding: 12px 24px;
        justify-content: center;
    }
    
    .projection-icon-btn {
        width: 100%;
        min-height: 48px;
        font-size: 18px;
        padding: 12px 24px;
        justify-content: center;
        background: transparent;
        border: 2px solid #D5FF2E;
        color: #D5FF2E;
    }
}

.btn-neon {
    background: #D5FF2E !important;
    color: #000000 !important;
    border: none !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.02em;
    border-radius: 10px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.btn-neon:hover {
    background: #c5ef1e !important;
    color: #000000 !important;
    transform: translateY(-1px);
}

/* Tag badge styles (used in templates) */
.tag-badge {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Footer styles */
.footer {
    position: relative;
    width: 100%;
    background: #000000;
    padding: 40px 77px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-container {
    width: 100%;
    max-width: 1286px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: 140px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    width: 32px;
    height: 34px;
    background: linear-gradient(105.87deg, rgba(255, 255, 255, 0) 5.69%, #FFFFFF 92.53%);
    border-radius: 50%;
}

.footer-brand-text {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
}

.footer-section-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    color: #D5FF2E;
    margin: 0 0 3px 0;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-link-list li a {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link-list li a:hover {
    color: #D5FF2E;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-contact-info div {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.04em;
    color: #FFFFFF;
}

/* Responsive footer styles */
@media (max-width: 768px) {
    .footer {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        height: auto;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-brand-text {
        font-size: 20px;
        line-height: 24px;
    }
}

/* Form styles */
.form-textarea-full-width {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.required-indicator {
    color: #dc3545 !important; /* Using !important to ensure the red color is applied */
    margin-left: 3px;
    font-weight: bold;
}

/* Hide the required indicator by default */
.required-field-indicator {
    display: none !important;
}

/* Show the required indicator when active */
.required-field-indicator.active {
    display: inline !important;
}

/* 404 Page styles */
.error-page {
    text-align: center;
    padding: 50px 0;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: #343a40;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.error-icon {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 20px;
}

.error-message {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #495057;
}

.error-actions {
    margin-top: 30px;
}

/* Icon Utility Classes */
.icon-primary {
    font-size: 24px;
    color: #007bff;
}

.icon-success {
    font-size: 24px;
    color: #28a745;
}

.icon-info {
    font-size: 24px;
    color: #17a2b8;
}

.icon-secondary {
    font-size: 24px;
    color: #6c757d;
}

.icon-small {
    font-size: 18px;
}

.icon-margin-right {
    margin-right: 8px;
}

/* Typography Utility Classes */
.text-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.text-stats-row {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
}

/* Grid Layout Utilities */
.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Presentation Control Specific Classes */
.presentation-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.status-badge {
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: white;
}

.status-badge-active {
    background: #28a745;
}

.status-badge-inactive {
    background: #dc3545;
}

.stats-info-row {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
    margin-bottom: 8px;
}

.stats-info-value {
    color: #6D6D6D;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.checkbox-group label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #000000;
}

.form-section {
    margin-bottom: 16px;
}

.form-section label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #000000;
    display: block;
    margin-bottom: 8px;
}

.table-responsive {
    overflow-x: auto;
}

/* Profile Page Specific Classes */
.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(105.87deg, rgba(213, 255, 46, 0.2) 5.69%, #D5FF2E 92.53%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
}

.profile-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #DADADA;
}

.profile-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin: 0 0 8px 0;
}

.profile-username {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #6D6D6D;
    margin: 0;
}

.profile-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(218, 218, 218, 0.3);
}

.profile-detail-row:last-child {
    border-bottom: none;
}

.profile-detail-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #000000;
}

.profile-detail-value {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6D6D6D;
}

.profile-role-badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.profile-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.profile-stats-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #6D6D6D;
    margin: 0 0 16px 0;
}

.profile-activity-header {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin: 0;
}

.profile-section-header {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    margin: 0;
}

.profile-activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-activity-item-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
    margin: 0 0 4px 0;
}

.profile-activity-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-activity-date {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #6D6D6D;
}

.profile-cta-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin: 0 0 12px 0;
}

.profile-cta-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #6D6D6D;
    margin: 0 0 20px 0;
}

.profile-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.profile-card-fixed-width {
    width: 400px;
    flex-shrink: 0;
}

.profile-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-activity-container {
    flex: 1;
}

.profile-stats-grid {
    margin-bottom: 32px;
}

.profile-activity-section {
    margin-bottom: 32px;
}

.profile-activity-section-header {
    margin-bottom: 16px;
}

.profile-activity-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    margin: 0;
}

.profile-activity-toggle {
    text-align: center;
    margin-top: 16px;
}

.profile-activity-collapse {
    margin-top: 16px;
}

.profile-collapsible-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin: 0;
}

.profile-role-badge {
    background: #007bff;
}

.profile-role-badge.moderator {
    background: #007bff;
}

.profile-role-badge.principal {
    background: #28a745;
}

.profile-role-badge.site-owner {
    background: #dc3545;
}

.profile-role-badge.registered-user {
    background: #17a2b8;
}

.profile-role-badge.administrator {
    background: #ffc107;
    color: #000000;
}

.flex-1 {
    flex: 1;
}

.inherit-color {
    color: inherit;
}

.no-decoration {
    text-decoration: none;
}

/* About Page Styles */
.about-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 88px 0px 40px;
    gap: 20px;
    width: 100%;
    margin-bottom: 52px;
}

.about-hero-title {
    font-family: 'Bebas Neue', cursive;
    font-weight: 400;
    font-size: 66px;
    line-height: 43px;
    letter-spacing: 0.02em;
    color: #000000;
    margin: 0;
}

.about-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 20px;
    color: #6D6D6D;
    margin: 0;
    text-align: center;
    max-width: 583px;
}

.about-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 100%;
    max-width: 1013px;
    margin: 0 auto 52px auto;
}

.about-section-with-border {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 24px 0px 0px;
    gap: 20px;
    width: 100%;
    max-width: 1013px;
    margin: 0 auto 52px auto;
    border-top: 1px solid #DADADA;
}

.about-section-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 24px 0px;
    gap: 20px;
    width: 100%;
    border-top: 1px solid #DADADA;
}

.about-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 107%;
    letter-spacing: -0.04em;
    color: #000000;
    margin: 0;
}

.about-section-title-fixed {
    width: 497px;
    flex-shrink: 0;
}

.about-section-title-small {
    width: 213px;
}

.about-mission-content {
    flex-grow: 1;
    max-width: 496px;
}

.about-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 25px;
    color: #6D6D6D;
    margin: 0 0 25px 0;
}

.about-text-last {
    margin: 0;
}

.about-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
}

.about-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
}

.about-step-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px 29px;
    gap: 24px;
    border: 1px solid #DADADA;
    border-radius: 16px;
    box-sizing: border-box;
}

.about-principle-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 8px;
    border: 1px solid #DADADA;
    border-radius: 16px;
    box-sizing: border-box;
}

.about-step-icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 11.3728px 1px;
    gap: 9.62px;
    width: 48px;
    height: 48px;
    background: #D5FF2E;
    border: 0.874834px solid #DADADA;
    border-radius: 8px;
    box-sizing: border-box;
}

.about-step-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 13px;
    width: 100%;
}

.about-step-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 8px;
    width: 100%;
}

.about-step-number {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 8px;
    width: 24px;
    height: 24px;
    border: 1px solid #DADADA;
    border-radius: 80px;
    box-sizing: border-box;
}

.about-step-number-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
}

.about-step-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 107%;
    letter-spacing: -0.02em;
    color: #000000;
    margin: 0;
}

.about-step-description-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 0px 0px 35px;
    gap: 8px;
    width: 100%;
}

.about-step-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6D6D6D;
    margin: 0;
    flex-grow: 1;
}

.about-principle-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.01em;
    color: #000000;
    margin: 0;
}

.about-principle-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6D6D6D;
    margin: 0;
}

.about-cta-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 36px;
    gap: 32px;
    width: 100%;
    max-width: 1013px;
    margin: 0 auto 52px auto;
    background: #FAFBFB;
    border: 1px solid #DADADA;
    border-radius: 16px;
    box-sizing: border-box;
}

.about-cta-title-section {
    width: 452px;
    flex-shrink: 0;
}

.about-cta-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 107%;
    letter-spacing: -0.04em;
    color: #000000;
    margin: 0 0 32px 0;
}

.about-cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 32px;
    width: 457px;
    flex-grow: 1;
}

.about-cta-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 25px;
    color: #6D6D6D;
    margin: 0;
    width: 457px;
}

.about-cta-buttons {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
    width: 457px;
}

.about-cta-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 11.3728px 1px;
    gap: 9.62px;
    width: 217px;
    height: 44px;
    border: 0.874834px solid #DADADA;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    color: #000000;
    text-decoration: none;
    box-sizing: border-box;
    flex-grow: 1;
}

.about-cta-button-primary {
    background: #D5FF2E;
}

.about-contact-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 31px;
    width: 100%;
    max-width: 1013px;
    margin: 0 auto;
}

.about-contact-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 10px;
    width: 317px;
}

.about-contact-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 107%;
    letter-spacing: -0.02em;
    color: #000000;
    margin: 0;
    width: 317px;
}

.about-contact-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #6D6D6D;
    margin: 0;
    width: 317px;
}

.about-contact-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0px 29px;
    gap: 32px;
    width: 665px;
    border: 1px solid #DADADA;
    border-radius: 16px;
    box-sizing: border-box;
    flex-grow: 1;
}

.about-form-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 20px;
    gap: 10px;
    width: 665px;
}

.about-form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.01em;
    color: #000000;
    margin: 0;
    width: 625px;
}

.about-form-input-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    gap: 8px;
    width: 625px;
    background: #FAFBFB;
    border: 1px solid #DADADA;
    border-radius: 10px;
    box-sizing: border-box;
}

.about-form-textarea-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 8px;
    width: 625px;
    height: 127px;
    background: #FAFBFB;
    border: 1px solid #DADADA;
    border-radius: 10px;
    box-sizing: border-box;
}

.about-form-input {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #C4C1C1;
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
}

.about-form-textarea {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #C4C1C1;
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    height: 100%;
    resize: none;
}

.about-form-submit-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 20px;
    gap: 24px;
    width: 665px;
}

.about-form-submit {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 11.3728px 1px;
    gap: 9.62px;
    width: 625px;
    height: 44px;
    background: #D5FF2E;
    border: 0.874834px solid #DADADA;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.02em;
    color: #000000;
    cursor: pointer;
    box-sizing: border-box;
}

/* About Page Mobile Responsive Styles */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 20px 30px;
        margin-bottom: 32px;
    }
    
    .about-hero-title {
        font-size: 42px;
        line-height: 38px;
        text-align: center;
    }
    
    .about-hero-subtitle {
        font-size: 16px;
        line-height: 22px;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .about-section {
        max-width: 100%;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .about-section-with-border {
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
        padding: 20px;
        margin-bottom: 40px;
    }
    
    .about-section-title {
        font-size: 28px;
        line-height: 32px;
    }
    
    .about-section-title-fixed {
        width: 100%;
    }
    
    .about-section-title-small {
        width: 100%;
    }
    
    .about-mission-content {
        max-width: 100%;
    }
    
    .about-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-principles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-step-card {
        padding: 16px 20px 24px;
        gap: 20px;
    }
    
    .about-principle-card {
        padding: 20px 16px;
        gap: 12px;
    }
    
    .about-step-description-wrapper {
        padding: 0px 0px 0px 32px;
    }
    
    .about-cta-card {
        flex-direction: column;
        padding: 24px 20px;
        gap: 24px;
        max-width: calc(100% - 40px);
        margin: 0 auto 40px auto;
    }
    
    .about-cta-title-section {
        width: 100%;
    }
    
    .about-cta-title {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 20px;
    }
    
    .about-cta-content {
        width: 100%;
        gap: 24px;
    }
    
    .about-cta-text {
        width: 100%;
        font-size: 16px;
        line-height: 22px;
    }
    
    .about-cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .about-cta-button {
        width: 100%;
        height: 48px;
        font-size: 16px;
        line-height: 20px;
    }
    
    .about-contact-section {
        flex-direction: column;
        gap: 24px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .about-contact-header {
        width: 100%;
    }
    
    .about-contact-title {
        width: 100%;
        font-size: 24px;
        line-height: 28px;
    }
    
    .about-contact-description {
        width: 100%;
    }
    
    .about-contact-form {
        width: 100%;
        padding: 20px 0px;
    }
    
    .about-form-field {
        width: 100%;
        padding: 0px 20px;
    }
    
    .about-form-label {
        width: 100%;
    }
    
    .about-form-input-wrapper {
        width: 100%;
    }
    
    .about-form-textarea-wrapper {
        width: 100%;
    }
    
    .about-form-submit-wrapper {
        width: 100%;
        padding: 0px 20px;
    }
    
    .about-form-submit {
        width: 100%;
        height: 48px;
        font-size: 16px;
        line-height: 20px;
    }
}

/* User Management Styles */
.user-roles {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.role-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.role-md {
    background: #007bff;
}

.role-badge.role-pr {
    background: #28a745;
}

.role-badge.role-so {
    background: #dc3545;
}

.role-badge.role-ad {
    background: #ffc107;
    color: #000000;
}

.role-badge.role-ru {
    background: #6c757d;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.modal-hidden {
    display: none !important;
}

.modal-content {
    background-color: #fefefe;
    border: 1px solid #DADADA;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #DADADA;
}

.modal-header h4 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #000000;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-body {
    padding: 24px;
}

/* Mobile modal improvements */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px auto;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 16px 20px;
        max-height: calc(90vh - 140px);
        overflow-y: auto;
    }
    
    .close {
        font-size: 32px;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        touch-action: manipulation;
    }
    
    .close:active {
        transform: scale(0.95);
        background-color: rgba(0,0,0,0.1);
    }
    
    .role-checkboxes {
        gap: 20px;
    }
    
    .role-checkbox {
        padding: 12px 0;
        touch-action: manipulation;
    }
    
    .role-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    
    .modal-actions .action-btn {
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 5px auto;
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 12px 16px;
    }
    
    .modal-body {
        padding: 12px 16px;
        max-height: calc(90vh - 120px);
    }
    
    .modal-header h4 {
        font-size: 16px;
    }
}

.role-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.role-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #000000;
}

.role-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* Navigation Projection Button */
.nav-projection {
    display: flex;
    align-items: center;
    margin-left: 16px;
}

.projection-icon-btn {
    background: transparent;
    border: none;
    color: #000000;
    width: 40px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.projection-icon-btn:hover {
    background: #c5ef1e;
    border-color: #c5ef1e;
    color: #000000;
    transform: translateY(-1px);
}

.projection-icon-btn:active {
    transform: scale(0.95);
}

/* Home page specific styling - white projection button on nav-page backgrounds */
.home-nav.nav-page .projection-icon-btn {
    color: #000000;
}

/* Home page specific styling - black projection button on non-nav-page backgrounds */
.home-nav:not(.nav-page) .projection-icon-btn {
    color: #FFFFFF;
}

.home-nav:not(.nav-page) .projection-icon-btn:hover {
    color: #000000;
}

@media (max-width: 768px) {
    .nav-projection {
        margin-left: 8px;
    }
    
    .projection-icon-btn {
        width: 36px;
        height: 28px;
        font-size: 14px;
    }
    
    /* Form responsiveness */
    .form-container {
        width: 100% !important;
        max-width: calc(100vw - 40px) !important;
        padding: 16px !important;
    }
    
    .form-container form {
        width: 100% !important;
    }
    
    .form-container div[style*="width: 624px"] {
        width: 100% !important;
    }
    
    .form-container label[style*="width: 624px"] {
        width: 100% !important;
    }
    
    .form-container div[style*="min-height"] {
        width: 100% !important;
    }
    
    /* Form buttons responsiveness */
    .form-container button[type="submit"] {
        width: 100% !important;
    }
    
    /* Page wrapper responsiveness */
    div[style*="max-width: 1013px"] {
        max-width: 100% !important;
        padding: 0 20px !important;
    }
    
    /* Hide sidebar on mobile */
    div[style*="width: 319px"] {
        display: none !important;
    }
    
    /* Main content row - make it single column on mobile */
    div[style*="flex-direction: row"][style*="gap: 28px"] {
        flex-direction: column !important;
        gap: 20px !important;
    }
}
/* Additional portrait orientation specific styles */
@media (max-width: 768px) and (orientation: portrait) {
    .mobile-menu-toggle {
        display: flex \!important;
        margin-right: 0; /* Remove extra margin */
        flex-shrink: 0; /* Prevent shrinking */
    }
    
    .home-nav {
        padding: 8px 12px; /* Tighter padding in portrait */
        gap: 12px; /* Even smaller gap for portrait */
    }
    
    .home-nav.nav-page {
        width: 100%;
        left: 0;
        border-radius: 0;
        padding: 8px 12px;
    }
    
    .nav-container {
        gap: 8px; /* Reduce container gap in portrait */
    }
    
    .nav-center {
        padding: 60px 16px 20px 16px; /* Adjusted for portrait */
        justify-content: flex-start;
    }
    
    .nav-links {
        gap: 20px; /* Tighter spacing in portrait */
    }
    
    .nav-link {
        font-size: 22px; /* Slightly smaller text for portrait */
        padding: 10px 20px;
    }
}

/* Profile Page Mobile Styles */
@media (max-width: 768px) {
    .profile-card-fixed-width {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .profile-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .profile-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .profile-actions .action-btn {
        width: 100%;
        text-align: center;
    }
    
    .profile-cta-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .profile-cta-actions .action-btn {
        width: 100%;
        text-align: center;
    }
    
    .profile-activity-item-meta {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .profile-activity-item-title {
        font-size: 14px;
        line-height: 18px;
    }
    
    .profile-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .profile-detail-label {
        font-size: 12px;
        font-weight: 600;
    }
    
    .profile-detail-value {
        font-size: 14px;
    }
    
    .profile-role-badges {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .profile-role-badge {
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 0 12px;
    }
    
    .stats-card {
        padding: 16px;
    }
    
    .stats-number {
        font-size: 28px;
        line-height: 32px;
    }
    
    .profile-header {
        text-align: center;
        padding: 16px 0;
    }
    
    .profile-avatar {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }
    
    .profile-name {
        font-size: 18px;
        line-height: 22px;
    }
    
    .profile-username {
        font-size: 14px;
    }
    
    .profile-cta-title {
        font-size: 18px;
        line-height: 22px;
    }
    
    .profile-cta-description {
        font-size: 14px;
        line-height: 20px;
    }
    
    .collapsible-header {
        padding: 12px 16px;
    }
    
    .profile-collapsible-title {
        font-size: 16px;
    }
    
    .profile-activity-section-title {
        font-size: 14px;
    }
    
    .profile-activity-item-title {
        font-size: 13px;
        line-height: 16px;
    }
    
    .profile-activity-date {
        font-size: 11px;
    }
    
    .status-published,
    .status-rejected,
    .status-submitted,
    .count-badge {
        font-size: 11px;
        padding: 2px 6px;
    }
}

.spacer {
    height: 20px;
}
