/* Base Styles */
:root {
    /* New Palette from Landing */
    --bg-dark: #0a0e17;
    --bg-card: #141824;
    --primary: #6b9bd1;
    --primary-light: #8badd3;
    --text-primary: #e8eef4;
    --text-secondary: #9ca3af;
    --border: rgba(107, 155, 209, 0.2);
    --glow: rgba(107, 155, 209, 0.3);

    /* Mappings for legacy variables */
    --bg-color: var(--bg-dark);
    --card-bg: var(--bg-card);
    --text-main: var(--text-primary);
    --text-muted: var(--text-secondary);
    --border-color: var(--border);
    --accent-color: var(--primary);
    --primary-gradient: linear-gradient(135deg, #1a2332 0%, #0f1621 100%); /* Header gradient style */
    
    /* Component specific mappings */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(135deg, #1a2332 0%, #0f1621 100%);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 3px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.admin-login-btn {
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 5px;
    transition: opacity 0.3s;
    font-size: 0.9em;
}

.admin-login-btn:hover {
    opacity: 0.8;
}

/* User Menu Dropdown */
.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
    font-family: inherit;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-icon {
    display: none;
}

.user-name {
    font-weight: 600;
}

.user-role {
    font-size: 0.85em;
    opacity: 0.8;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 4px;
    transition: transform 0.3s;
}

.user-menu:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 12px 16px;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(107, 155, 209, 0.1);
}

.conference-label {
    font-size: 0.75em;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.conference-name {
    font-size: 0.95em;
    font-weight: 600;
    color: var(--text-main);
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 4px;
    line-height: 1.3;
}

.conference-id {
    font-size: 0.8em;
    font-weight: 400;
    opacity: 0.7;
    text-transform: none;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.9em;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.dropdown-item:hover {
    background: rgba(107, 155, 209, 0.2);
}

.dropdown-item-indented {
    padding-left: 32px;
    background: rgba(107, 155, 209, 0.05);
}

.dropdown-item-indented:hover {
    background: rgba(107, 155, 209, 0.15);
}

/* Main Content */
.main-content {
    flex: 1;
    width: 100%;
    padding-top: 5rem;
}

/* Footer */
.footer {
    background: var(--card-bg);
    color: var(--text-muted);
    padding: 20px;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-content p {
    font-size: 0.9em;
    opacity: 0.7;
}

.footer-content a {
    color: inherit;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px auto;
    font-size: 0.95em;
    max-width: 1200px;
}

.alert-error {
    background: rgba(185, 28, 28, 0.15);
    border-left: 4px solid #dc2626;
    padding: 15px 20px;
    border-radius: 4px;
    color: #fca5a5;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

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

/* Conference List Page */
.intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: var(--text-main);
}

.intro p {
    font-size: 1.1em;
    color: var(--text-muted);
    line-height: 1.8;
}

.conferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.conference-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    border: 1px solid var(--border-color);
}

.conference-card.example {
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(107, 155, 209, 0.2);
}

.example-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
}

.conference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.conference-card h2 {
    color: var(--primary); /* Indigo 400 */
    font-size: 1.5em;
    margin-bottom: 15px;
}

.conference-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: var(--text-muted);
}

.conference-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.speaker-count {
    display: inline-block;
    background: rgba(107, 155, 209, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    color: var(--primary-light);
    font-weight: 600;
}

/* Conference Detail Page */
.page-title {
    padding: 30px 20px;
    background: var(--card-bg);
    border-bottom: 2px solid var(--accent-color);
}

.page-title .container {
    margin: 0 auto;
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 12px;
}

.back-link:hover {
    text-decoration: underline;
    color: var(--primary-light);
}

.page-title h1 {
    font-size: 1.8em;
    color: var(--text-main);
    margin-bottom: 10px;
}

.page-meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.85em;
    color: var(--text-muted);
}

.page-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-description {
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.5;
    font-size: 0.9em;
}

.section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--primary);
}

.speakers-list {
    display: grid;
    gap: 12px;
    max-width: 900px; /* Constrain width for better readability on large screens */
    margin: 0 auto; /* Center the list */
}

.speaker-card {
    background: linear-gradient(to bottom, var(--card-bg), #202b3f);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-color); /* Add accent strip */
}

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

.speaker-info h2 {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 0;
    font-weight: 600;
}

.speaker-affiliation-inline {
    color: var(--text-muted);
    font-size: 0.75em;
    font-weight: 400;
    margin-left: 8px;
}

.manage-btn {
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.85em;
    transition: background 0.3s;
    white-space: nowrap;
}

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

.documents {
    margin-top: 12px;
}

.document-item {
    background: #1b2336; /* Darker background */
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 6px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.document-item:hover {
    border-color: rgba(107, 155, 209, 0.3);
    transform: translateX(2px);
}

.document-content {
    flex: 1;
    min-width: 0;
    margin-right: 10px;
}

.document-title {
    font-weight: 500;
    font-size: 0.9em;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.document-meta {
    font-size: 0.75em;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.document-hidden {
    display: none;
}

.btn-show-more {
    width: 100%;
    padding: 8px 12px;
    margin-top: 6px;
    background: rgba(107, 155, 209, 0.1);
    border: 1px solid rgba(107, 155, 209, 0.3);
    border-radius: 6px;
    color: var(--accent-color);
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-show-more:hover {
    background: rgba(107, 155, 209, 0.2);
    border-color: rgba(107, 155, 209, 0.5);
}

.no-documents {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Manage Speaker Page */
.upload-section {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

.upload-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5em;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
    background: #1b2336; /* darker bg for inputs */
    color: white;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(107, 155, 209, 0.2);
}

.helper-text {
    font-size: 0.85em;
    color: var(--text-muted);
    margin-top: 5px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

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

.return-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95em;
}

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

/* Demo Styles */
.demo-badge {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.5em;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 10px;
}

.demo-alert {
    background: rgba(107, 155, 209, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 12px 16px;
    margin-top: 15px;
    border-radius: 4px;
    color: var(--text-muted);
}

.demo-alert strong {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .conferences-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .main-content {
        padding-top: 9rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .page-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .speaker-header {
        flex-direction: column;
    }
}

/* =========================================
   Auth Pages (Login, Admin Login, Register)
   ========================================= */
.auth-body {
    align-items: center;
    justify-content: center;
}

.login-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    max-width: 400px;
    width: 100%;
    border: 1px solid var(--border-color);
}

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

.login-header h1 {
    color: var(--primary);
    font-size: 2em;
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.95em;
}

.admin-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 15px;
}

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

.auth-form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-main);
    font-weight: 500;
}

.auth-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
    background: var(--bg-color);
    color: white;
}

.auth-form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(107, 155, 209, 0.2);
}

.auth-form-group input:read-only {
    background-color: var(--card-bg);
    color: var(--text-muted);
    cursor: not-allowed;
}

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

.password-input-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    font-size: 1.2em;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.toggle-password:hover {
    opacity: 1;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-light);
}

.auth-links {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9em;
}

.auth-links a {
    color: var(--primary);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-check {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.auth-check input {
    margin-right: 8px;
}

.auth-check label {
    color: var(--text-muted);
    font-size: 0.9em;
}

/* Register Page Specifics */
.register-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h1 {
    color: var(--primary);
    font-size: 2em;
    margin-bottom: 10px;
}

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

.user-info {
    background: rgba(107, 155, 209, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-color);
}

.user-info p {
    margin: 5px 0;
    color: var(--text-main);
}

.user-info strong {
    color: var(--primary);
}

.password-requirements {
    background: rgba(107, 155, 209, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid rgba(107, 155, 209, 0.2);
}

.password-requirements h3 {
    color: var(--primary);
    font-size: 0.95em;
    margin-bottom: 15px;
    font-weight: 600;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.requirement-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9em;
}

.requirement-item::before {
    content: "○";
    margin-right: 8px;
    color: rgba(107, 155, 209, 0.5);
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.requirement-item.met {
    color: #10b981;
}

.requirement-item.met::before {
    content: "●";
    color: #10b981;
}

/* =========================================
   Admin Conference Management Page
   ========================================= */
.admin-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, #5b21b6 100%);
    color: white;
    padding: 40px 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(107, 155, 209, 0.3);
}

.admin-header h1 {
    margin: 0 0 10px 0;
    font-size: 2em;
}

.admin-header p {
    margin: 0;
    opacity: 0.9;
}

.admin-section {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.admin-section h2 {
    margin-top: 0;
    color: var(--primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.admin-section h3 {
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 15px;
}

.speakers-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.speaker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(27, 35, 54, 0.5);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.speaker-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    color: var(--text-main);
}

.speaker-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9em;
}

/* Extension Bubbles */
.extensions-container {
    margin-top: 10px;
}

.extensions-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    min-height: 44px;
    padding: 10px;
    background: rgba(27, 35, 54, 0.5);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.extension-bubble {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #5b21b6 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(107, 155, 209, 0.3);
    transition: all 0.2s;
}

.extension-bubble:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(107, 155, 209, 0.4);
}

.extension-bubble .ext-text {
    user-select: none;
}

.extension-bubble .remove-btn {
    cursor: pointer;
    font-size: 1.1em;
    line-height: 1;
    font-weight: bold;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.extension-bubble .remove-btn:hover {
    opacity: 1;
}

.extensions-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.extensions-input-wrapper input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95em;
    transition: border-color 0.2s;
    background: var(--bg-color);
    color: var(--text-main);
}

.extensions-input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(107, 155, 209, 0.2);
}

.btn-add {
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95em;
    transition: all 0.2s;
    white-space: nowrap;
}

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

.btn-reset {
    padding: 8px 16px;
    background: var(--card-bg);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.2s;
}

.btn-reset:hover {
    background: var(--accent-color);
    color: white;
}

.extensions-bubbles:empty::before {
    content: 'No extensions added yet. Add some below.';
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9em;
}

.no-items-message {
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
}

.document-actions {
    display: flex;
    gap: 10px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-color);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.icon-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(107, 155, 209, 0.3);
}

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

/* Landing Page Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a2332 0%, #0f1621 100%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.glow-orb-1 {
    top: 25%;
    left: 25%;
    width: 400px;
    height: 400px;
    background: var(--primary);
}

.glow-orb-2 {
    bottom: 25%;
    right: 25%;
    width: 300px;
    height: 300px;
    background: #4a7ba7;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(107, 155, 209, 0.1);
    border: 1px solid var(--border);
    border-radius: 2rem;
    backdrop-filter: blur(10px);
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(107, 155, 209, 0.2);
    transform: translateY(-4px);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(107, 155, 209, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.feature-card:hover .feature-icon {
    background: rgba(107, 155, 209, 0.2);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-number {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    background: rgba(107, 155, 209, 0.2);
    border: 1px solid var(--border);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.cta-box {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    margin-top: 3rem;
}

.cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .step {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }
}

/* Button Styles from Landing */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
}

.btn-secondary {
    background: rgba(107, 155, 209, 0.1);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(107, 155, 209, 0.2);
}



/* CMS Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 0 30px rgba(0, 100, 200, 0.2);
}

.modal-header {
    color: #8badd3;
    font-size: 1.8em;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.15);
    font-weight: 600;
}

.close {
    color: #6c8aab;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: var(--primary);
}

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

.form-group label {
    display: block;
    color: #8badd3;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(10, 13, 20, 0.6);
    border: 1px solid rgba(107, 155, 209, 0.2);
    border-radius: 6px;
    color: #e0e6ed;
    font-size: 1em;
    transition: all 0.2s;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238badd3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(10, 13, 20, 0.8);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.1);
}

.admin-conf-link {
    transition: opacity 0.2s;
    border-radius: 4px;
    padding: 2px 4px;
    margin: -2px -4px;
    text-decoration: none;
}
.admin-conf-link:hover {
    background: transparent;
}
.admin-conf-link .conference-name {
    color: var(--text-main);
}
.admin-conf-link .conference-id {
    color: var(--text-secondary);
    transition: color 0.2s;
}
.admin-conf-link:hover .conference-name {
    color: var(--primary);
}
.admin-conf-link:hover .conference-id {
    color: var(--primary-light);
}

/* Header Action Buttons */
.header-actions-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
}

.header-btn {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85em;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
    white-space: nowrap;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Icon Buttons */
.header-btn.icon-btn {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.header-btn.icon-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}
