/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - ALUMNI STAN D1 KEPABEANAN & CUKAI 2013/2014
   ========================================================================== */

:root {
    /* Brand Colors (Bea Cukai Navy + Gold Accent + Facebook Blue) */
    --primary-navy: #0e2439;
    --secondary-navy: #153350;
    --navy-light: #1e456b;
    --accent-gold: #f59e0b;
    --accent-gold-hover: #d97706;
    --fb-blue: #1877f2;
    --fb-blue-hover: #166fe5;

    /* Status & Utility */
    --success-green: #10b981;
    --danger-red: #ef4444;
    --purple: #8b5cf6;

    /* Light Theme (Default Facebook-style Light) */
    --bg-main: #f0f2f5;
    --bg-card: #ffffff;
    --bg-hover: #f2f4f7;
    --bg-header: #0e2439; /* Elegant Navy Header */
    --text-primary: #1c2b36;
    --text-secondary: #65676b;
    --text-header: #ffffff;
    --border-color: #e4e6eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Dark Theme Overrides */
body.dark-theme {
    --bg-main: #18191a;
    --bg-card: #242526;
    --bg-hover: #3a3b3c;
    --bg-header: #242526;
    --text-primary: #e4e6eb;
    --text-secondary: #b0b3b8;
    --text-header: #e4e6eb;
    --border-color: #3e4042;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: var(--fb-blue);
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

hr.divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 12px 0;
}

/* Avatar Utilities */
.avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

/* ==========================================================================
   HEADER NAVIGATION (Facebook Navy Header)
   ========================================================================== */

.fb-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
    background-color: var(--bg-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 280px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-badge {
    width: 42px;
    height: 42px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.logo-title {
    display: block;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--text-header);
}

.logo-sub {
    display: block;
    font-size: 11px;
    color: var(--accent-gold);
    font-weight: 600;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 14px;
}

.search-box input {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 8px 12px 8px 34px;
    color: #fff;
    font-size: 13px;
    width: 170px;
    transition: width 0.3s ease, background 0.3s ease;
}

.search-box input::placeholder {
    color: #94a3b8;
}

.search-box input:focus {
    width: 210px;
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.header-center {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 6px;
}

.nav-tab {
    height: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
    border-bottom: 3px solid transparent;
}

.nav-tab i {
    font-size: 20px;
    margin-bottom: 2px;
}

.tab-label {
    font-size: 11px;
    font-weight: 600;
}

.nav-tab:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nav-tab.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.badge-pill {
    position: absolute;
    top: 6px;
    right: 8px;
    background: var(--danger-red);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
    transition: background 0.2s ease;
}

.action-btn:hover {
    background-color: rgba(255, 255, 255, 0.22);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--danger-red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-navy);
}

.user-avatar-btn {
    position: relative;
    cursor: pointer;
}

.user-avatar-btn img {
    border: 2px solid var(--accent-gold);
}

.user-status-dot {
    position: absolute;
    bottom: 2px;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: var(--success-green);
    border-radius: 50%;
    border: 2px solid var(--primary-navy);
}

/* ==========================================================================
   APP MAIN 3-COLUMN LAYOUT
   ========================================================================== */

.app-container {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 20px;
    max-width: 1360px;
    margin: 20px auto;
    padding: 0 16px;
}

.sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.profile-cover {
    height: 75px;
    background-size: cover;
    background-position: center;
}

.profile-body {
    padding: 0 16px 16px;
    text-align: center;
    margin-top: -36px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    object-fit: cover;
    margin-bottom: 8px;
    box-shadow: var(--shadow-md);
}

.profile-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-npm {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0;
}

.unit-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold-hover);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin: 6px 0 10px;
}

.profile-bio {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

.sidebar-menu {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
}

.menu-item:hover {
    background-color: var(--bg-hover);
}

.menu-item.active {
    background-color: rgba(245, 158, 11, 0.12);
    color: var(--accent-gold-hover);
}

.menu-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
}

.bg-navy { background-color: var(--primary-navy); }
.bg-gold { background-color: var(--accent-gold); }
.bg-blue { background-color: var(--fb-blue); }
.bg-green { background-color: var(--success-green); }
.bg-purple { background-color: var(--purple); }

.sidebar-footer {
    font-size: 11px;
    color: var(--text-secondary);
    padding: 0 8px;
}

.footer-links a {
    color: var(--text-secondary);
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.view-section {
    display: none;
}

.view-section.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Stories Carousel */
.stories-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.stories-list {
    display: flex;
    gap: 12px;
}

.story-card {
    min-width: 115px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-card .story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.story-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    object-fit: cover;
}

.story-author {
    color: white;
    font-weight: 700;
    font-size: 12px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.create-story {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.create-story .story-img-wrapper {
    height: 125px;
    overflow: hidden;
}

.create-story-btn {
    width: 32px;
    height: 32px;
    background: var(--accent-gold);
    color: white;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -16px auto 4px;
    font-size: 14px;
}

.create-story .story-author {
    color: var(--text-primary);
    text-align: center;
    font-size: 11px;
}

/* Create Post Card */
.create-post-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.create-post-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.create-post-top input {
    width: 100%;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 24px;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s ease;
}

.create-post-top input:hover {
    background-color: var(--bg-hover);
}

.create-post-actions {
    display: flex;
    justify-content: space-between;
}

.post-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: background 0.2s ease;
}

.post-action-btn:hover {
    background-color: var(--bg-hover);
}

.text-green { color: #10b981; }
.text-blue { color: #1877f2; }
.text-red { color: #ef4444; }
.text-gold { color: #f59e0b; }

/* Feed Filter Bar */
.feed-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feed-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.filter-pills {
    display: flex;
    gap: 8px;
}

.pill-btn {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.pill-btn.active {
    background: var(--primary-navy);
    color: var(--accent-gold);
    border-color: var(--primary-navy);
}

/* Post Cards */
.post-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

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

.post-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
}

.author-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

.post-more-btn {
    color: var(--text-secondary);
    font-size: 16px;
    padding: 6px;
    border-radius: 50%;
}

.post-content {
    font-size: 14px;
    color: var(--text-primary);
    white-space: pre-line;
}

.post-image-wrapper {
    margin: 4px -16px;
    max-height: 450px;
    overflow: hidden;
    background: #000;
}

.post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 4px 0;
}

.post-actions-bar {
    display: flex;
    justify-content: space-around;
    padding: 4px 0;
}

.action-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    transition: background 0.2s ease, color 0.2s ease;
}

.action-bar-btn:hover {
    background-color: var(--bg-hover);
}

.action-bar-btn.liked {
    color: var(--fb-blue);
}

/* Comment Thread */
.comments-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 8px;
}

.comment-item {
    display: flex;
    gap: 10px;
}

.comment-bubble {
    background-color: var(--bg-main);
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    max-width: 90%;
}

.comment-author {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.comment-text {
    color: var(--text-primary);
}

.comment-input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.comment-input-box input {
    flex: 1;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-primary);
}

.send-comment-btn {
    color: var(--fb-blue);
    font-size: 16px;
}

/* Direktori Alumni View */
.section-banner {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.banner-content h2 {
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--accent-gold);
}

.banner-content p {
    font-size: 13px;
    opacity: 0.9;
}

.directory-filter-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 16px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.filter-group input,
.filter-group select {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-primary);
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.alumni-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alumni-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.alumni-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid var(--accent-gold);
}

.alumni-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
}

.alumni-npm {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.alumni-unit {
    background: rgba(14, 36, 57, 0.08);
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

body.dark-theme .alumni-unit {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-gold);
}

.alumni-meta-tags {
    display: flex;
    gap: 6px;
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.btn-contact {
    width: 100%;
    padding: 8px;
    background: var(--fb-blue);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Memori & Galeri */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gallery-item {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
    color: white;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-overlay h4 {
    font-size: 16px;
    font-weight: 700;
}

.gallery-overlay p {
    font-size: 12px;
    opacity: 0.85;
}

/* Reuni View */
.reunion-hero-card {
    background: linear-gradient(135deg, var(--primary-navy), #132a4a);
    color: white;
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-gold);
}

.reunion-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-navy);
    font-weight: 800;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.reunion-hero-card h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}

.reunion-tagline {
    font-size: 14px;
    color: #cbd5e1;
    font-style: italic;
    margin-bottom: 24px;
}

.countdown-clock {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.clock-unit {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 18px;
    border-radius: 12px;
    min-width: 75px;
}

.clock-unit span {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-gold);
}

.clock-unit small {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
}

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

.btn-gold-lg {
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: var(--primary-navy);
    font-weight: 800;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-outline-lg {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
}

.reunion-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.detail-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.icon-lg {
    font-size: 28px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.detail-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.detail-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Sidebar Right Widgets */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.widget-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

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

.widget-header h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.countdown-widget .count-text {
    font-weight: 700;
    font-size: 13px;
    color: var(--accent-gold-hover);
    margin-bottom: 8px;
}

.progress-bar {
    height: 8px;
    background: var(--bg-main);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--fb-blue));
}

.btn-sm-primary {
    width: 100%;
    padding: 6px;
    background: var(--primary-navy);
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    margin-top: 8px;
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.announcement-item {
    font-size: 12px;
    border-left: 3px solid var(--fb-blue);
    padding-left: 10px;
}

.ann-date {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 10px;
}

.online-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.online-user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.online-avatar-wrapper {
    position: relative;
}

.dot-online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    background: var(--success-green);
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

/* Modals */
.post-modal,
.story-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 12px;
    width: 100%;
    max-width: 520px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

.close-modal, .close-story {
    font-size: 20px;
    color: var(--text-secondary);
}

.modal-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-name {
    font-weight: 700;
    font-size: 14px;
}

.audience-select {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-primary);
}

.modal-body textarea {
    width: 100%;
    height: 120px;
    border: none;
    resize: none;
    font-size: 15px;
    color: var(--text-primary);
    background: transparent;
    outline: none;
}

.btn-primary-block {
    width: 100%;
    padding: 10px;
    background: var(--fb-blue);
    color: white;
    font-weight: 700;
    border-radius: 8px;
    font-size: 14px;
}

.story-modal-content {
    position: relative;
    background: #000;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    padding: 16px;
    color: white;
}

.close-story {
    position: absolute;
    top: 16px;
    right: 16px;
    color: white;
}

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

.story-main-img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* ==========================================================================
   ELEGANT LOGIN PAGE STYLING
   ========================================================================== */

.login-body {
    background: #081524;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    padding: 20px;
}

.login-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(24, 119, 242, 0.12) 0%, transparent 50%),
                url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    filter: brightness(0.25) contrast(1.1);
    z-index: 1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 2;
    pointer-events: none;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: rgba(245, 158, 11, 0.2);
    top: -50px;
    left: -50px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(14, 36, 57, 0.6);
    bottom: -100px;
    right: -100px;
}

.login-container {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

/* Login Hero Left Side */
.login-hero {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-logo-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.hero-brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.hero-brand-sub {
    font-size: 11px;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.welcome-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.login-hero h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 8px;
}

.hero-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 18px;
}

.feature-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.feature-item p {
    font-size: 12px;
    color: #94a3b8;
}

.hero-quote-card {
    background: rgba(14, 36, 57, 0.5);
    border-left: 4px solid var(--accent-gold);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    backdrop-filter: blur(8px);
}

.quote-icon {
    color: var(--accent-gold);
    font-size: 18px;
    margin-bottom: 6px;
    opacity: 0.8;
}

.quote-text {
    font-size: 13px;
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.quote-author {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-gold);
}

/* Login Card Right Side */
.login-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-card {
    background: rgba(15, 33, 55, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.login-card-header {
    margin-bottom: 24px;
    text-align: center;
}

.login-card-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.login-card-header p {
    font-size: 13px;
    color: #94a3b8;
}

.login-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-info {
    background: rgba(24, 119, 242, 0.2);
    border: 1px solid rgba(24, 119, 242, 0.4);
    color: #60a5fa;
}

.alert-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.input-group label {
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.forgot-link {
    font-size: 12px;
    color: var(--accent-gold);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 42px 12px 14px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.input-wrapper input:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.input-icon, .toggle-pwd-btn {
    position: absolute;
    right: 14px;
    color: #94a3b8;
    font-size: 15px;
}

.toggle-pwd-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.toggle-pwd-btn:hover {
    color: #ffffff;
}

.remember-row {
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12.5px;
    color: #94a3b8;
}

.checkbox-container input {
    accent-color: var(--accent-gold);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.btn-login-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: var(--primary-navy);
    font-weight: 800;
    font-size: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* Demo Login Box */
.demo-login-box {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.demo-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 10px;
}

.demo-btns {
    display: flex;
    gap: 10px;
}

.demo-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.demo-btn:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

.demo-btn img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.login-card-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.btn-verify-alumni {
    color: var(--accent-gold);
    font-weight: 700;
}

.login-copyright {
    text-align: center;
    font-size: 11px;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.skip-to-app {
    color: #94a3b8;
    font-weight: 600;
}

.skip-to-app:hover {
    color: var(--accent-gold);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    .login-hero {
        display: none;
    }
}
