/* Early Access Modal Styles */
.early-access-body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Language Switcher - now positioned in header */
.language-switcher {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.lang-btn {
    padding: 6px 12px;
    background: rgba(30, 41, 59, 0.8);
    color: #94a3b8;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #e2e8f0;
}

.lang-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Privacy Notice */
.privacy-notice {
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.privacy-notice h3 {
    color: #93c5fd;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
}

.privacy-notice p {
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
    font-size: 0.85rem;
}

/* Custom Scrollbar for Modal */
.early-access-content::-webkit-scrollbar {
    width: 8px;
}

.early-access-content::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 4px;
}

.early-access-content::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

.early-access-content::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* GDPR Reference */
.gdpr-reference {
    margin-top: 16px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 6px;
    font-size: 0.8rem;
    border-left: 2px solid #3b82f6;
}

.gdpr-reference p {
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

.gdpr-reference strong {
    color: #e2e8f0;
}

.early-access-modal {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    border: 1px solid rgba(59, 130, 246, 0.3);
    overflow: hidden;
    max-height: 90vh;
}

.early-access-content {
    padding: 0;
    background: transparent;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.early-access-modal .modal-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 20px 24px 24px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.early-access-modal .modal-header h1 {
    color: white;
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
}

.early-access-modal .modal-body {
    padding: 24px;
}

.disclaimer-section {
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.disclaimer-section h2 {
    color: #93c5fd;
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.disclaimer-text {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 12px;
}

.disclaimer-list {
    color: #e2e8f0;
    line-height: 1.8;
    padding-left: 20px;
}

.disclaimer-list li {
    margin-bottom: 8px;
}

.access-key-section {
    text-align: center;
}

.access-key-section p {
    color: #94a3b8;
    margin-bottom: 12px;
}

.access-key-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.7);
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.access-key-input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(59, 130, 246, 0.4);
}

.submit-btn:disabled {
    background: #64748b;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error-message {
    color: #f87171;
    margin-top: 12px;
    font-size: 0.9rem;
    display: none;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.early-access-modal .modal-footer {
    background: rgba(30, 41, 59, 0.3);
    padding: 16px;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .early-access-modal {
        width: 95%;
        margin: 0 10px;
    }
    
    .early-access-modal .modal-body {
        padding: 16px;
    }
}