/* css/settings-modal.css - FIXED VERSION */
/* Egyedi osztálynevek hogy ne ütközzön a meglévő .modal rendszerrel */

/* =================== MODAL OVERLAY =================== */
.szc-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(16, 20, 31, 0.95) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    padding: 20px;
    box-sizing: border-box;
    animation: szcFadeIn 0.2s ease-out;
}

@keyframes szcFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =================== MODAL CONTAINER =================== */
.szc-settings-modal {
    position: relative !important;
    background: linear-gradient(135deg, #1a1f2e 0%, #2a2f3e 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: szcSlideUp 0.3s ease-out;
    margin: 0 auto;
}

@keyframes szcSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =================== MODAL HEADER =================== */
.szc-modal-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.szc-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.szc-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.szc-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* =================== MODAL BODY =================== */
.szc-modal-body {
    padding: 24px;
    max-height: 55vh;
    overflow-y: auto;
}

/* Custom scrollbar */
.szc-modal-body::-webkit-scrollbar {
    width: 8px;
}

.szc-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.szc-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.szc-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* =================== FORM ELEMENTS =================== */
.szc-modal-body .form-group {
    margin-bottom: 20px;
}

.szc-modal-body .form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.szc-modal-body .form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.szc-modal-body .form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.szc-modal-body .form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* =================== WARNING MESSAGE =================== */
.settings-warning {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 14px;
    color: #ffa726;
}

/* =================== MODAL FOOTER =================== */
.szc-modal-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* =================== BUTTONS =================== */
.szc-modal-footer .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.szc-modal-footer .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.szc-modal-footer .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.szc-modal-footer .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.szc-modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.szc-modal-footer .btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 600px) {
    .szc-settings-modal {
        width: 95%;
        max-height: 80vh;
    }
    
    .szc-modal-header,
    .szc-modal-body,
    .szc-modal-footer {
        padding: 20px;
    }
    
    .szc-modal-header h3 {
        font-size: 18px;
    }
    
    .szc-modal-body .form-input {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .szc-modal-footer {
        flex-direction: column;
    }
    
    .szc-modal-footer .btn {
        width: 100%;
    }
}