/* ===== CSS Reset & Variables ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a365d;
    --primary-light: #2a4a7f;
    --accent: #e6394a;
    --accent-hover: #c9303f;
    --bg: #ffffff;
    --bg-alt: #f7f8fc;
    --text: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
    --shadow-lg: 0 20px 40px -12px rgba(0,0,0,.12);
    --radius: 12px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img, iframe {
    max-width: 100%;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

#navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -.5px;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

/* Dropdown groups */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: none;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown.open .nav-dropdown-trigger {
    color: var(--primary);
    background: var(--bg-alt);
}

.nav-chevron {
    transition: transform .25s ease;
    flex-shrink: 0;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.06);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Invisible bridge to prevent gap hover loss */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown-menu a {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 14px;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    color: var(--primary);
    background: var(--bg-alt);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/static/img/hero.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(5,15,35,.55) 0%, rgba(5,15,35,.72) 60%, rgba(5,15,35,.88) 100%),
        radial-gradient(ellipse at 20% 50%, rgba(230,57,74,.12) 0%, transparent 60%);
}

.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255,255,255,.03) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255,255,255,.65);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.hero-acronym {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 4px;
    margin-bottom: 40px;
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.8);
    font-size: 1.05rem;
    font-weight: 500;
}

.hero-detail svg {
    flex-shrink: 0;
    opacity: .7;
}

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(230,57,74,.35);
}

.hero-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230,57,74,.45);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.4);
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: .4; }
    50% { opacity: 1; }
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 48px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.stat-label {
    font-size: .85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

/* ===== Timeline / Important Dates ===== */
.timeline {
    max-width: 720px;
    margin: 48px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 55px;
    top: 36px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.highlight::after {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(230,57,74,.2);
}

.timeline-date {
    flex-shrink: 0;
    width: 48px;
    text-align: right;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.timeline-item.highlight .date-day {
    color: var(--accent);
}

.date-month {
    font-size: .75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.timeline-content {
    padding-left: 16px;
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: .95rem;
    color: var(--text-secondary);
}

/* ===== Topics ===== */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.topic-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.topic-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.topic-card:hover .topic-icon {
    background: var(--primary);
    color: #fff;
}

.topic-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.topic-card p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Speakers ===== */
.speakers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

.speaker-card {
    flex: 0 1 240px;
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.speaker-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-light);
}

.speaker-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.speaker-card p {
    font-size: .9rem;
    color: var(--text-light);
}

/* ===== Program ===== */
.program-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.program-tab {
    padding: 12px 28px;
    font-size: .95rem;
    font-weight: 600;
    font-family: var(--font);
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--bg);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.program-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.program-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.program-day {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.program-day.active {
    display: block;
}

.program-block {
    display: flex;
    gap: 24px;
    padding: 20px 24px;
    border-left: 3px solid var(--border);
    margin-left: 8px;
    transition: var(--transition);
}

.program-block:hover {
    background: var(--bg-alt);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.program-block-highlight {
    border-left-color: var(--accent);
    background: linear-gradient(90deg, rgba(230,57,74,.04), transparent);
}

.program-block-break {
    border-left-color: var(--border);
    opacity: .7;
}

.program-block-break:hover {
    opacity: 1;
}

.program-time {
    flex-shrink: 0;
    width: 120px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--primary);
    padding-top: 2px;
    white-space: nowrap;
}

.program-info {
    flex: 1;
    min-width: 0;
}

.program-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.program-info > p {
    font-size: .9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.program-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

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

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

.badge-poster {
    background: #ede9fe;
    color: #5b21b6;
}

.badge-break {
    background: #f3f4f6;
    color: #6b7280;
}

.badge-general {
    background: #dcfce7;
    color: #166534;
}

.badge-social {
    background: #fce7f3;
    color: #9d174d;
}

.program-talks {
    list-style: none;
    margin-top: 8px;
    padding: 0;
}

.program-talks li {
    font-size: .88rem;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.program-talks li:last-child {
    border-bottom: none;
}

.talk-body {
    display: block;
}

.talk-time {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-light);
    min-width: 40px;
    flex-shrink: 0;
}

.program-note {
    text-align: center;
    margin-top: 40px;
    font-size: .88rem;
    color: var(--text-light);
    font-style: italic;
}

.parallel-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0 16px 8px;
}

.parallel-label span {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--primary);
    white-space: nowrap;
}

.parallel-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.parallel-sessions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.parallel-room {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.parallel-room:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}

.room-header {
    margin-bottom: 14px;
}

.room-name {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
}

.parallel-room .program-info h4 {
    font-size: 1rem;
}

.parallel-room .program-talks li {
    font-size: .85rem;
}

.program-download {
    text-align: center;
    margin-top: 32px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    font-size: .95rem;
    font-weight: 600;
    font-family: var(--font);
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26,54,93,.25);
}

.btn-outline svg {
    flex-shrink: 0;
}

/* ===== Submission ===== */
.submission-content {
    max-width: 720px;
    margin: 48px auto 0;
}

.submission-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.submission-info ul {
    list-style: none;
    margin-bottom: 36px;
}

.submission-info li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.submission-info li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.deadline-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #fef3f3, #fff5f5);
    border: 1px solid #fecaca;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 32px;
}

.deadline-banner svg {
    flex-shrink: 0;
    color: var(--accent);
}

.deadline-banner strong {
    display: block;
    font-size: 1rem;
    color: var(--text);
}

.deadline-banner span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26,54,93,.25);
}

/* ===== Venue ===== */
.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}

.venue-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.venue-info p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 16px;
}

.venue-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
}

.venue-detail strong {
    display: block;
    font-size: .9rem;
    color: var(--text);
    margin-bottom: 4px;
}

.venue-detail p {
    font-size: .9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.venue-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ===== Discover Montenegro Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
    margin-top: 48px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-card-large {
    grid-column: span 2;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.05) 100%);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.gallery-overlay p {
    font-size: .9rem;
    color: rgba(255,255,255,.85);
    line-height: 1.5;
    max-width: 400px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
}

.gallery-card:hover .gallery-overlay p {
    opacity: 1;
    transform: translateY(0);
}

.discover-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.highlight-item svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.highlight-item strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.photo-credits {
    text-align: center;
    margin-top: 36px;
    font-size: .8rem;
    color: var(--text-light);
}

.photo-credits a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.photo-credits a:hover {
    color: var(--primary);
}

/* ===== Committee ===== */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.committee-group {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}

.committee-group h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.committee-group li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: .95rem;
    border-bottom: 1px solid var(--border);
}

.committee-group li:last-child {
    border-bottom: none;
}

/* ===== Contact ===== */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 32px;
    margin-top: 32px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-secondary);
}

.contact-card svg {
    color: var(--primary);
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    color: var(--primary);
}

/* ===== Sponsors ===== */
.sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 32px 40px;
    width: 280px;
    height: 280px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    box-sizing: border-box;
}

.sponsor-card img {
    height: 160px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: var(--transition);
}

.sponsor-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.sponsor-card:hover img {
    filter: grayscale(0%);
}

/* ===== Footer ===== */
footer {
    background: var(--primary);
    color: rgba(255,255,255,.7);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: .9rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: .85rem;
    color: rgba(255,255,255,.4);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .venue-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    .gallery-card-large {
        grid-column: span 2;
    }

    .discover-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .nav-dropdown-trigger {
        font-size: .82rem;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 8px 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-dropdown:last-child {
        border-bottom: none;
    }

    .nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        font-size: .95rem;
        padding: 14px 12px;
        border-radius: 0;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        min-width: 0;
        background: var(--bg-alt);
        border: none;
        border-radius: 8px;
        padding: 4px 0;
        margin: 0 0 8px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown:hover.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 10px 20px;
        font-size: .9rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-details {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .timeline::before {
        left: 50px;
    }

    .timeline-item::after {
        left: 45px;
    }

    .program-block {
        flex-direction: column;
        gap: 8px;
        padding: 16px 16px;
    }

    .program-time {
        width: auto;
        font-size: .85rem;
    }

    .program-tab {
        padding: 10px 18px;
        font-size: .85rem;
    }

    .parallel-sessions {
        grid-template-columns: 1fr;
    }

    .parallel-room {
        padding: 18px;
    }

    .venue-details {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-card-large {
        grid-column: span 1;
    }

    .gallery-overlay p {
        opacity: 1;
        transform: translateY(0);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Registration Page ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0f2847 60%, #0a1e3d 100%);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.7);
}

.nav-link-active {
    color: var(--primary) !important;
    background: var(--bg-alt);
    font-weight: 600 !important;
}

.reg-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reg-pricing h3,
.reg-form-container h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.reg-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reg-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.reg-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.reg-card-accent {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(26,54,93,.03), rgba(26,54,93,.07));
}

.reg-card-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.reg-card-accent .reg-card-header {
    color: var(--accent);
}

.reg-card-deadline {
    font-size: .8rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.reg-card ul {
    list-style: none;
}

.reg-card li {
    font-size: .9rem;
    color: var(--text-secondary);
    padding: 4px 0;
}

.reg-card li strong {
    color: var(--text);
    min-width: 55px;
    display: inline-block;
}

.reg-includes {
    font-size: .85rem;
    color: var(--text-light);
    margin-top: 20px;
    font-style: italic;
    text-align: center;
}

/* Registration Page Form Wrapper */
.reg-page-form-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

/* Step Indicator */
.reg-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.reg-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: .4;
    transition: var(--transition);
}

.reg-step.active {
    opacity: 1;
}

.reg-step.completed {
    opacity: .7;
}

.reg-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: var(--transition);
}

.reg-step.active .reg-step-number {
    background: var(--primary);
    color: #fff;
}

.reg-step.completed .reg-step-number {
    background: #16a34a;
    color: #fff;
}

.reg-step span {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.reg-step.active span {
    color: var(--primary);
}

.reg-step-line {
    width: 48px;
    height: 2px;
    background: var(--border);
    margin: 0 12px;
    flex-shrink: 0;
}

/* Form Steps */
.reg-form-step {
    display: none;
}

.reg-form-step.active {
    display: block;
}

.reg-form-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.reg-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

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

.form-group label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
}

.required {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: .95rem;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,54,93,.1);
}

.form-group input.invalid,
.form-group select.invalid {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230,57,74,.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .88rem;
    font-weight: 400;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* Fee Summary */
.fee-summary {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 8px;
}

.fee-summary-header {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.fee-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: .9rem;
    color: var(--text-secondary);
}

.fee-summary-row strong {
    color: var(--text);
    font-size: 1rem;
}

.fee-total {
    border-top: 2px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
}

.fee-total strong {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-method {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.payment-method:hover {
    border-color: var(--primary-light);
}

.payment-method:has(input:checked) {
    border-color: var(--primary);
    background: rgba(26,54,93,.03);
}

.payment-method input[type="radio"] {
    margin-top: 4px;
    accent-color: var(--primary);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.payment-method-content {
    flex: 1;
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.payment-method-header svg {
    color: var(--primary);
    flex-shrink: 0;
}

.payment-method-header strong {
    font-size: .95rem;
    color: var(--text);
}

.payment-method-desc {
    font-size: .82rem;
    color: var(--text-light);
    padding-left: 34px;
}

/* Card Fields */
.card-fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 20px;
    padding: 20px 24px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* PayPal Message */
.paypal-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.paypal-message svg {
    flex-shrink: 0;
    color: #2563eb;
    margin-top: 1px;
}

.paypal-message p {
    font-size: .88rem;
    color: #1e40af;
    margin: 0;
}

#regSubmitBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reg-success {
    text-align: center;
    padding: 48px 24px;
}

.reg-success svg {
    color: #16a34a;
    margin-bottom: 16px;
}

.reg-success h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.reg-success p {
    color: var(--text-secondary);
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .reg-cards-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .reg-steps {
        flex-wrap: wrap;
        gap: 8px;
    }

    .reg-step-line {
        width: 24px;
        margin: 0 4px;
    }

    .reg-step span {
        display: none;
    }

    .form-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .form-actions .btn {
        width: 100%;
        text-align: center;
    }

    .payment-method-desc {
        padding-left: 0;
    }
}

/* ============================================
   ADMIN PAGES
   ============================================ */

/* Login */
.admin-login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: var(--bg-light);
}

.admin-login-card {
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

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

.admin-login-header svg {
    color: var(--primary);
    margin-bottom: 16px;
}

.admin-login-header h1 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.admin-login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admin-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.admin-alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Dashboard */
.admin-section {
    padding: 120px 0 60px;
    min-height: 100vh;
    background: var(--bg-light);
}

.admin-header {
    margin-bottom: 32px;
}

.admin-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.admin-header p {
    color: var(--text-muted);
}

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

.admin-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.admin-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.admin-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Table */
.admin-table-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table thead {
    background: var(--primary);
    color: #fff;
}

.admin-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: #f8fafc;
}

.admin-table a {
    color: var(--primary);
    text-decoration: none;
}

.admin-table a:hover {
    text-decoration: underline;
}

.admin-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.admin-badge-regular {
    background: #dbeafe;
    color: #1d4ed8;
}

.admin-badge-student {
    background: #dcfce7;
    color: #16a34a;
}

.admin-badge-ieee {
    background: #fef3c7;
    color: #d97706;
}

.admin-btn-delete {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s;
}

.admin-btn-delete:hover {
    color: #dc2626;
    border-color: #dc2626;
    background: #fef2f2;
}

/* Empty state */
.admin-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.admin-empty svg {
    color: #cbd5e1;
    margin-bottom: 16px;
}

.admin-empty h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.admin-empty p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .admin-login-card {
        padding: 32px 24px;
    }

    .admin-header h1 {
        font-size: 1.5rem;
    }

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

    .admin-table {
        font-size: 0.82rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 12px;
    }
}

/* ============================================
   AUTHOR ENTRIES
   ============================================ */

.author-entry {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.author-fields {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.author-fields input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.author-fields input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.author-fields input.invalid {
    border-color: #dc2626;
}

.btn-remove-author {
    flex-shrink: 0;
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s;
    margin-top: 1px;
}

.btn-remove-author:hover {
    color: #dc2626;
    border-color: #dc2626;
    background: #fef2f2;
}

.btn-add-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: none;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 4px;
}

.btn-add-author:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.04);
}

.admin-btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.admin-btn-pdf:hover {
    background: rgba(37, 99, 235, 0.06);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .author-fields {
        grid-template-columns: 1fr;
    }

    .author-entry {
        flex-wrap: wrap;
    }
}

/* ============================================
   SUBMISSION DETAIL PAGE
   ============================================ */

.sub-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.sub-detail-back:hover {
    text-decoration: underline;
}

.sub-detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

.sub-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.sub-detail-card h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.sub-detail-id {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.sub-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.sub-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.sub-detail-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sub-detail-authors {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sub-detail-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.sub-detail-author svg {
    flex-shrink: 0;
    color: #94a3b8;
}

.sub-detail-abstract {
    line-height: 1.7;
    color: var(--text);
}

.sub-detail-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sub-detail-decision-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.sub-detail-save-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #16a34a;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 12px;
}

.sub-detail-delete-btn {
    width: 100%;
    color: #dc2626;
    border-color: #fecaca;
}

.sub-detail-delete-btn:hover {
    background: #fef2f2;
    border-color: #dc2626;
}

/* Status badges for detail page */
.admin-badge-status-submitted {
    background: #f1f5f9;
    color: #475569;
}

.admin-badge-status-under_review {
    background: #dbeafe;
    color: #1d4ed8;
}

.admin-badge-status-accepted {
    background: #dcfce7;
    color: #16a34a;
}

.admin-badge-status-accepted_minor {
    background: #fef9c3;
    color: #ca8a04;
}

.admin-badge-status-accepted_major {
    background: #ffedd5;
    color: #ea580c;
}

.admin-badge-status-rejected {
    background: #fef2f2;
    color: #dc2626;
}

/* Clickable rows in list */
.sub-row-clickable:hover {
    background: #f0f4ff !important;
}

.sub-title-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.sub-title-link:hover {
    text-decoration: underline;
}

/* Sidebar form styles */
.sub-detail-sidebar .form-group {
    margin-bottom: 16px;
}

.sub-detail-sidebar label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.sub-detail-sidebar select,
.sub-detail-sidebar input,
.sub-detail-sidebar textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.sub-detail-sidebar select:focus,
.sub-detail-sidebar input:focus,
.sub-detail-sidebar textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.sub-detail-sidebar textarea {
    resize: vertical;
}

/* Reviewer components in admin detail */
.reviewer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.reviewer-item:last-child {
    border-bottom: none;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.reviewer-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
}

.reviewer-email {
    font-size: 0.82rem;
    color: #64748b;
}

.reviewer-status {
    font-size: 0.8rem;
}

.reviewer-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.admin-btn-copy,
.admin-btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
}

.admin-btn-copy:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #3b82f6;
}

.admin-btn-delete:hover {
    border-color: #ef4444;
    background: #fef2f2;
    color: #ef4444;
}

.reviewer-add-form {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.reviewer-input {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    flex: 1;
    min-width: 140px;
    transition: border-color 0.2s;
}

.reviewer-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* CSV upload section */
.reviewer-csv-section {
    margin-top: 4px;
}

.reviewer-csv-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
    color: #94a3b8;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.reviewer-csv-divider::before,
.reviewer-csv-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.reviewer-csv-upload {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.reviewer-csv-input {
    font-size: 0.85rem;
    font-family: inherit;
    color: #475569;
}

.reviewer-csv-input::file-selector-button {
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.15s;
}

.reviewer-csv-input::file-selector-button:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.reviewer-csv-hint {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 8px;
}

.reviewer-csv-hint code {
    background: #f1f5f9;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.78rem;
    color: #475569;
}

.reviewer-csv-result {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.csv-result-success {
    color: #16a34a;
    font-weight: 500;
}

.csv-result-warnings {
    color: #d97706;
    margin-top: 6px;
}

.csv-result-warnings ul {
    margin: 4px 0 0 18px;
    font-size: 0.8rem;
}

.csv-result-error {
    color: #dc2626;
    font-weight: 500;
}

.btn-sm {
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
    white-space: nowrap;
}

/* Review results in admin detail */
.review-result {
    padding: 16px 0;
}

.review-result-bordered {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
}

.review-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.review-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.review-confidence {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

.review-result-section {
    margin-bottom: 10px;
}

.review-result-section strong {
    font-size: 0.82rem;
    color: #475569;
}

.review-result-section p {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
    margin-top: 4px;
    white-space: pre-wrap;
}

.review-confidential {
    background: #fefce8;
    border-radius: 8px;
    padding: 10px 12px;
    border-left: 3px solid #eab308;
}

.review-result-date {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 8px;
}

/* Review recommendation badges */
.admin-badge-rec-accept { background: #dcfce7; color: #16a34a; }
.admin-badge-rec-minor_revision { background: #fef3c7; color: #d97706; }
.admin-badge-rec-major_revision { background: #ffedd5; color: #ea580c; }
.admin-badge-rec-reject { background: #fef2f2; color: #dc2626; }

/* Review summary in sidebar */
.review-summary-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.review-summary-row span {
    color: #64748b;
}

.review-summary-row strong {
    color: #1e293b;
}

@media (max-width: 1024px) {
    .sub-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sub-detail-title {
        font-size: 1.2rem;
    }

    .sub-detail-card {
        padding: 20px;
    }
}
