/* ========================================
   BETA MODAL - Entwicklungsphase Hinweis
   ======================================== */

/* Modal Overlay */
.beta-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modal Container */
.beta-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid #3b82f6;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height:85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
    position: relative;
    animation: slideUp 0.4s ease;
    margin: 10px; /* Abstand zum Rand */
}

/* Responsive */
@media (max-width: 640px) {
    .beta-modal {
        max-height: 80vh; /* Nur 80% auf Mobile */
        margin: 20px 10px; /* Mehr vertikaler Abstand */
        border-radius: 16px;
    }
    
    .beta-modal-header {
        padding: 20px 16px;
    }
    
    .beta-badge {
        padding: 6px 16px;
        font-size: 0.8125rem;
        margin-bottom: 12px;
    }
    
    .beta-modal-title {
        font-size: 1.375rem;
        line-height: 1.3;
    }
    
    .beta-modal-subtitle {
        font-size: 0.9375rem;
        margin-top: 6px;
    }
    
    .beta-modal-body {
        padding: 20px 16px;
    }
    
    .beta-section {
        margin-bottom: 20px;
    }
    
    .beta-section-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .beta-section-icon {
        font-size: 1.25rem;
    }
    
    .beta-section-text {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .beta-feature-list li {
        padding: 8px 0;
        padding-left: 24px;
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .beta-feature-list li:before {
        font-size: 1rem;
    }
    
    .beta-highlight {
        padding: 12px;
        font-size: 0.875rem;
        margin-top: 12px;
    }
    
    .beta-modal-footer {
        padding: 16px;
        flex-direction: column;
    }
    
    .beta-btn {
        width: 100%;
        min-width: auto;
        padding: 12px 20px;
        font-size: 0.875rem;
    }
    
    .beta-close-btn {
        width: 36px;
        height: 36px;
        font-size: 24px;
        top: 12px;
        right: 12px;
    }
}

/* Modal Header */
.beta-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 24px;
    border-radius: 18px 18px 0 0;
    text-align: center;
    position: relative;
}

.beta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.beta-modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.beta-modal-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 8px;
}

/* Modal Body */
.beta-modal-body {
    padding: 32px 24px;
    color: #e5e7eb;
}

.beta-section {
    margin-bottom: 24px;
}

.beta-section:last-child {
    margin-bottom: 0;
}

.beta-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.beta-section-icon {
    font-size: 1.5rem;
}

.beta-section-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #d1d5db;
}

.beta-feature-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.beta-feature-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.beta-feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Highlight Box */
.beta-highlight {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.beta-highlight strong {
    color: #3b82f6;
    font-weight: 700;
}

/* Modal Footer */
.beta-modal-footer {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 0 18px 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.beta-btn {
    flex: 1;
    min-width: 140px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.beta-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.beta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.beta-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.beta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Close Button */
.beta-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    z-index: 10;
}

.beta-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
}

.beta-close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

/* Responsive */
@media (max-width: 640px) {
    .beta-modal {
        margin: 10px;
        max-height: 80vh;
    }
    
    .beta-modal-header {
        padding: 24px 20px;
    }
    
    .beta-modal-title {
        font-size: 1.5rem;
    }
    
    .beta-modal-body {
        padding: 24px 20px;
    }
    
    .beta-modal-footer {
        flex-direction: column;
    }
    
    .beta-btn {
        width: 100%;
    }
}

/* Scrollbar Styling */
.beta-modal::-webkit-scrollbar {
    width: 8px;
}

.beta-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.beta-modal::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 10px;
}

.beta-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}