/* BARS - Barangay Assistance & Reporting System */
/* Clean, Modern, Mobile-First Design */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #007BA7;
    --primary-dark: #006391;
    --secondary: #ACE1AF;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Poppins', sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
}

/* ============================================
   SIDEBAR (DESKTOP)
   ============================================ */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 256px;
    height: 100vh;
    background: var(--white);
    border-right: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    z-index: 40;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.sidebar-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.sidebar-nav {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--gray-100);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-link:hover {
    background: var(--gray-50);
    color: var(--gray-900);
}

.nav-link.active {
    background: var(--primary);
    color: var(--white);
}

.nav-link i {
    width: 20px;
    height: 20px;
}

/* ============================================
   MOBILE HEADER & MENU
   ============================================ */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 50;
}

.mobile-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 256px;
    background: var(--white);
    transform: translateX(-100%);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.mobile-menu-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.mobile-menu-nav {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.mobile-menu-logout {
    padding: 16px;
    text-align: center;
    border-top: 1px solid var(--gray-100);
    color: var(--gray-600);
    text-decoration: none;
    width: 100%;
    background: none;
    border: none;
    border-top: 1px solid var(--gray-100);
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

.mobile-menu-logout:hover {
    background: var(--gray-50);
}

/* ============================================
   MOBILE BOTTOM NAVIGATION
   ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    padding: 8px;
    justify-content: space-around;
    z-index: 40;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--primary);
}

.mobile-bottom-nav .nav-item i {
    width: 20px;
    height: 20px;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
    margin-left: 256px;
    min-height: 100vh;
    padding: 32px;
    padding-bottom: 32px;
}

/* ============================================
   RESPONSIVE LAYOUT
   ============================================ */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    .mobile-menu-overlay {
        display: block;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        margin-top: 64px;
        margin-bottom: 64px;
        padding: 16px;
    }
}

/* ============================================
   CARDS & CONTAINERS
   ============================================ */
.card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.card-header {
    margin-bottom: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 14px;
    color: var(--gray-600);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 167, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    cursor: pointer;
}

/* ============================================
   BADGES & STATUS
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge-ongoing {
    background: #dbeafe;
    color: #1e40af;
}

.badge-resolved {
    background: #d1fae5;
    color: #065f46;
}

.badge-active {
    background: #d1fae5;
    color: #065f46;
}

.badge-inactive {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid {
    display: grid;
    gap: 24px;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   STAT CARDS
   ============================================ */
.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.stat-icon.blue {
    background: #3b82f6;
}

.stat-icon.yellow {
    background: #f59e0b;
}

.stat-icon.green {
    background: #10b981;
}

.stat-icon.primary {
    background: var(--primary);
}

.stat-icon i {
    color: var(--white);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
}

/* ============================================
   ACTION CARDS
   ============================================ */
.action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-radius: 16px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s;
}

.action-card:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.action-card.blue {
    background: var(--primary);
}

.action-card.green {
    background: var(--secondary);
    color: var(--gray-900);
}

.action-card.dark {
    background: var(--gray-700);
}

.action-card-content h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
}

.action-card-icon {
    opacity: 0.8;
}

/* ============================================
   TABLE
   ============================================ */
.table-container {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.table thead {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.table th {
    padding: 16px 24px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}

.table tbody tr:hover {
    background: var(--gray-50);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Mobile table scroll */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
    }
}

/* ============================================
   ALERTS & MESSAGES
   ============================================ */
.messages {
    margin-bottom: 24px;
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.alert-link {
    color: #1e40af;
    text-decoration: underline;
    font-weight: 600;
}

.alert-link:hover {
    color: #1e3a8a;
}

/* ============================================
   FILE UPLOAD
   ============================================ */
.file-upload {
    border: 2px dashed var(--gray-200);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload:hover {
    border-color: var(--primary);
    background: var(--gray-50);
}

.file-upload-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.file-upload-text {
    font-size: 14px;
    color: var(--gray-600);
}

.file-upload-hint {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--gray-600);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-item {
    display: flex;
    gap: 12px;
}

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

.timeline-icon.success {
    background: #d1fae5;
    color: #065f46;
}

.timeline-icon.ongoing {
    background: #dbeafe;
    color: #1e40af;
}

.timeline-icon.pending {
    background: var(--gray-100);
    color: var(--gray-400);
}

.timeline-content h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.timeline-content p {
    font-size: 12px;
    color: var(--gray-500);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 16px;
}

/* ============================================
   ADDITIONAL COMPONENTS
   ============================================ */

/* Page Header with Actions */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.page-header p {
    font-size: 16px;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 16px;
    }
}

/* ==========================================
   PUBLIC LANDING PAGE STYLES
   ========================================== */

.public-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.logo i {
    width: 32px;
    height: 32px;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inline-form {
    display: inline;
    margin: 0;
}

.logout-form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.logout-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.public-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.public-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.public-hero h1 {
    font-size: 2.25rem;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.public-hero p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.public-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.report-form {
    max-width: 100%;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
}

fieldset:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

fieldset:disabled * {
    pointer-events: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.public-announcements {
    margin-top: 3rem;
}

.public-announcements h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.announcement-list {
    display: grid;
    gap: 1rem;
}

.announcement-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.announcement-card h3 {
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.announcement-card p {
    color: #6b7280;
    line-height: 1.6;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.info-card {
    text-align: center;
    padding: 1.5rem;
}

.info-card i {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #6b7280;
    font-size: 0.875rem;
}

.public-footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 4rem;
}

.public-footer p {
    color: #6b7280;
    font-size: 0.875rem;
}

.report-feedback {
    background: #f0f9ff;
    border-left: 3px solid #3b82f6;
    padding: 0.75rem;
    margin-top: 0.75rem;
    border-radius: 4px;
}

.report-feedback strong {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.feedback-text {
    color: #374151;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.messages {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

/* Card List */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Report Header */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.report-header > div {
    display: flex;
    gap: 8px;
}

/* Report Footer */
.report-footer {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

/* Announcement Header */
.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.announcement-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

/* Images */
.report-image,
.announcement-image {
    max-width: 100%;
    border-radius: 12px;
    margin-top: 12px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 64px 32px;
    color: var(--gray-500);
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-700);
    margin: 16px 0 8px 0;
}

.empty-state p {
    margin-bottom: 24px;
}

/* Text Utilities */
.text-muted {
    color: var(--gray-500);
    font-size: 14px;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--gray-50);
}

.data-table th {
    padding: 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-200);
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    color: var(--gray-900);
}

.data-table tbody tr:hover {
    background: var(--gray-50);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.empty-cell {
    text-align: center;
    color: var(--gray-500);
    padding: 32px !important;
}

/* Button Icon */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gray-100);
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-icon i {
    width: 18px;
    height: 18px;
}

/* Badge Light */
.badge-light {
    background: var(--gray-100);
    color: var(--gray-700);
}

.badge-danger {
    background: var(--danger);
    color: var(--white);
}

.badge-admin {
    background: var(--danger);
    color: var(--white);
}

.badge-staff {
    background: var(--primary);
    color: var(--white);
}

/* Danger Button */
.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* Filter Form */
.filter-form {
    display: flex;
    gap: 12px;
}

.filter-group {
    display: flex;
    gap: 12px;
    flex: 1;
}

@media (max-width: 768px) {
    .filter-form,
    .filter-group {
        flex-direction: column;
    }
}

/* Info Box */
.info-box {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.info-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

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

.info-box li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-700);
}

.info-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Form Help Text */
.form-help {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Info Item */
.info-item {
    margin-bottom: 16px;
}

.info-item label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.info-item p {
    font-size: 14px;
    color: var(--gray-900);
}

/* Note Item */
.note-item {
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 12px;
}

.note-item:last-child {
    margin-bottom: 0;
}

.note-item p {
    margin: 0;
    color: var(--gray-700);
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-left: 2px solid var(--gray-200);
    padding-left: 24px;
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: -6px;
    top: 18px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

.timeline-content {
    flex: 1;
}

.timeline-content small {
    display: block;
    margin-bottom: 4px;
}

.timeline-content p {
    margin: 0;
    font-size: 14px;
    color: var(--gray-900);
}

/* Stat Content */
.stat-content {
    display: flex;
    flex-direction: column;
}

/* ============================================
   LANDING PAGE STYLES
   ============================================ */
.landing-page {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #ffffff, #f9fafb);
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px;
}

.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.brand-text h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--gray-900);
}

.brand-text p {
    font-size: 12px;
    margin: 0;
    color: var(--gray-500);
}

.landing-nav-buttons {
    display: flex;
    gap: 12px;
}

.hero-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 64px;
}

.hero-title {
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    box-shadow: 0 10px 15px -3px rgba(0, 123, 167, 0.2);
}

.features-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(172, 225, 175, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-icon i {
    color: var(--primary);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.feature-description {
    color: var(--gray-600);
}

/* ============================================
   AUTH PAGE STYLES (Login/Register)
   ============================================ */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    max-width: 450px;
    width: 100%;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 20px;
}

.auth-icon i {
    width: 40px;
    height: 40px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: #6b7280;
    font-size: 14px;
}

.auth-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.error-text {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

.btn-back {
    margin-top: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-page {
        padding: 16px;
    }
    
    .auth-card {
        padding: 30px 24px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .auth-icon {
        width: 70px;
        height: 70px;
    }
    
    .form-control {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 24px 20px;
    }
    
    .auth-title {
        font-size: 22px;
    }
}

/* ============================================
   ICON SIZES & COLORS
   ============================================ */
.icon-sm {
    width: 14px;
    height: 14px;
}

.icon-md {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 48px;
    height: 48px;
}

.icon-xl {
    width: 64px;
    height: 64px;
}

.icon-primary {
    color: var(--primary);
}

.icon-warning {
    color: var(--warning);
}

.icon-success {
    color: var(--success);
}

.icon-muted {
    color: var(--gray-400);
}

.icon-blue {
    color: #3b82f6;
}

/* ============================================
   STAT ICON VARIATIONS
   ============================================ */
.stat-icon-primary {
    background: rgba(0, 123, 167, 0.1);
}

.stat-icon-warning {
    background: rgba(245, 158, 11, 0.1);
}

.stat-icon-blue {
    background: rgba(59, 130, 246, 0.1);
}

.stat-icon-success {
    background: rgba(16, 185, 129, 0.1);
}

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.max-w-800 {
    max-width: 800px;
}

.flex-buttons {
    display: flex;
    gap: 12px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

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

.grid-span-2 {
    grid-column: span 2;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */
.mb-8 {
    margin-bottom: 8px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.my-12 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.my-16 {
    margin: 16px 0;
}

.m-0 {
    margin: 0;
}

.flex-1 {
    flex: 1;
}

/* ============================================
   FORM LAYOUT
   ============================================ */
.form-flex {
    display: flex;
    gap: 12px;
    align-items: end;
}

.form-flex .form-group {
    flex: 1;
    margin: 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 4px;
}

/* ============================================
   MOBILE RESPONSIVE - LANDING PAGE
   ============================================ */
@media (max-width: 768px) {
    .public-container {
        padding: 2rem 1rem;
    }
    
    .public-hero h1 {
        font-size: 1.75rem;
    }
    
    .public-hero p {
        font-size: 1rem;
    }
    
    .public-card {
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .public-container {
        padding: 1.5rem 1rem;
    }
    
    .public-hero {
        margin-bottom: 2rem;
    }
    
    .public-hero h1 {
        font-size: 1.5rem;
    }
    
    .public-hero p {
        font-size: 0.9375rem;
    }
    
    .public-card {
        padding: 1.25rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo i {
        width: 28px;
        height: 28px;
    }
    
    .header-actions {
        gap: 0.375rem;
    }
    
    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }
    
    .announcement-card,
    .public-card {
        border-radius: 6px;
    }
    
    .form-label {
        font-size: 0.9375rem;
    }
    
    .form-control,
    .form-select {
        font-size: 16px; /* Prevent iOS zoom */
    }
}




