/* ===== SPEAKER MODAL ===== */
.spk-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.spk-modal-overlay.open {
    display: flex;
}

.spk-modal-box {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    padding: 36px;
    width: 780px;
    max-width: 92vw;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
}

.spk-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, .5);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    z-index: 10;
}

.spk-modal-close:hover {
    color: #fff;
}

.spk-modal-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0a500;
    display: block;
    margin: 0 auto 16px;
}

.spk-modal-initial {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(240, 165, 0, .15);
    border: 3px solid #f0a500;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 800;
    color: #f0a500;
    margin: 0 auto 16px;
}

.spk-modal-company {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 4px;
}

.spk-modal-title {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 6px;
}

.spk-modal-name {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.spk-modal-section {
    margin-top: 18px;
}

.spk-modal-label {
    font-size: 11px;
    color: #f0a500;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.spk-modal-text {
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
    line-height: 1.75;
    white-space: pre-wrap;
}

.spk-modal-message {
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
    font-style: italic;
    line-height: 1.75;
    padding: 14px 18px;
    background: rgba(240, 165, 0, .07);
    border-left: 3px solid #f0a500;
    border-radius: 0 8px 8px 0;
}

/* ===== ENTRY MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #0a0a0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--fg-muted);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.modal-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.modal-body {
    padding: 24px;
}

.step-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}

.step-dot {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    transition: all .3s;
}

.step-dot.active {
    background: var(--accent);
}

.step-dot.done {
    background: #22c55e;
}

.step-label {
    font-size: 13px;
    color: var(--fg-muted);
    margin-bottom: 20px;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.category-option {
    padding: 12px 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.04);
}

.category-option:hover {
    border-color: var(--accent);
    background: rgba(245, 166, 35, 0.08);
    color: rgba(255, 255, 255, 0.85);
}

.category-option.selected {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: 700;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--fg);
}

.form-group label::after {
    content: ' *';
    color: #ff4d4f;
    font-weight: 700;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid hsla(0, 0%, 100%, 0.4);
    border-radius: 8px;
    background: hsla(0, 0%, 100%, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.3);
}

.form-input::placeholder {
    color: var(--fg-muted);
    opacity: 0.6;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.btn-modal-back {
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--fg);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.btn-modal-back:hover {
    border-color: var(--accent);
}

.btn-modal-next {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: #e8b84a;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}

.btn-modal-next:hover {
    background: #f0c45a;
    box-shadow: 0 4px 16px rgba(245, 166, 35, .3);
    transform: translateY(-1px);
}

.btn-modal-next:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    margin-bottom: 16px;
}

.btn-google:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-google svg {
    width: 20px;
    height: 20px;
}

.or-divider {
    text-align: center;
    color: var(--fg-muted);
    font-size: 12px;
    margin: 16px 0;
    position: relative;
}

.or-divider::before,
.or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 60px);
    height: 1px;
    background: var(--border);
}

.or-divider::before {
    left: 0;
}

.or-divider::after {
    right: 0;
}

.success-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: hsla(120, 60%, 50%, 0.1);
    border: 2px solid hsla(120, 60%, 50%, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.success-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.success-content p {
    color: var(--fg-muted);
    font-size: 14px;
    line-height: 1.6;
}

.speaker-select-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 350px;
    overflow-y: auto;
}

.speaker-select-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
}

.speaker-select-item:hover {
    border-color: var(--accent);
}

.speaker-select-item.checked {
    border-color: var(--accent);
    background: rgba(245, 166, 35, 0.1);
}

.speaker-select-check {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.speaker-select-item.checked .speaker-select-check {
    border-color: var(--accent);
    background: rgba(245, 166, 35, 0.15);
}

.speaker-select-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-card);
}

.speaker-select-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-select-info {
    flex: 1;
}

.speaker-select-name {
    font-size: 14px;
    font-weight: 600;
}

.speaker-select-company {
    font-size: 12px;
    color: var(--fg-muted);
}

/* Survey Styles */
.survey-section {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.survey-section.active {
    display: block;
}

.survey-section.active .survey-question-label::after {
    content: ' *';
    color: #ff4d4f;
    font-weight: 700;
}

.survey-question {
    margin-bottom: 16px;
}

.survey-question-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--fg);
}

.survey-question-label::after {
    content: ' *';
    color: #ff4d4f;
    font-weight: 700;
}

.survey-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.survey-option {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
    color: var(--fg-muted);
}

.survey-option:hover {
    border-color: var(--accent);
    color: var(--fg);
}

.survey-option.selected {
    border-color: var(--accent);
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent);
}

.survey-radio {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.survey-radio-item {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
    color: var(--fg-muted);
}

.survey-radio-item:hover {
    border-color: var(--accent);
    color: var(--fg);
}

.survey-radio-item.selected {
    border-color: var(--accent);
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent);
}

.survey-conditional {
    display: none;
    margin-top: 8px;
}

.survey-conditional.show {
    display: block;
}

.survey-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: hsla(0, 0%, 100%, 0.08);
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    box-sizing: border-box;
}

.survey-textarea:focus {
    border-color: var(--accent);
    outline: none;
}

/* Validation error styles */
.form-input.input-error {
    border-color: #ff4d4f !important;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.15);
}

.field-error-msg {
    display: none;
    color: #ff4d4f;
    font-size: 11px;
    margin-top: 4px;
    line-height: 1.4;
}

.field-error-msg.show {
    display: block;
}

.modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    color: var(--fg-muted);
    font-size: 14px;
}


/* ===== SKELETON LOADING ===== */
.skeleton {
    background: linear-gradient(90deg, #111 25%, #222 50%, #111 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== SPONSOR BANNER ===== */
.sponsor-banner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 18px 28px;
    min-width: 160px;
    min-height: 72px;
    transition: border-color .2s, background .2s;
}

a:hover .sponsor-banner-card {
    border-color: rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.07);
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-brand {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--fg-muted);
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 12px;
    color: var(--fg-dim);
}

.footer-copy a {
    color: var(--fg-dim);
    text-decoration: none;
}

.footer-copy a:hover {
    color: var(--fg-muted);
}

/* ===== SPONSOR MODAL BUTTONS ===== */
.spnsr-link-btn {
    display: inline-block;
    font-size: 12px;
    color: var(--fg-muted);
    text-decoration: none;
    word-break: break-all;
    transition: color .2s;
}

.spnsr-link-btn:hover {
    color: var(--fg);
}

.spnsr-action-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fg);
    text-decoration: none;
    transition: all .2s;
    background: rgba(255, 255, 255, .04);
}

.spnsr-action-btn:hover {
    background: rgba(255, 255, 255, .10);
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== NAVBAR ACTIONS FIX ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
