/* Modal Overlay - Siyah Tema */
.su-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
}

.su-overlay.is-open {
    display: flex;
}

/* Modal Dialog */
.su-dialog {
    width: 92%;
    max-width: 460px;
    background: #1a1a1a;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #333;
}

/* Header - Koyu Gradient */
.su-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 20px;
    position: relative;
    border-bottom: 2px solid #333;
}

.su-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.su-close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.su-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Body */
.su-body {
    padding: 25px;
    background: #1a1a1a;
}

/* Mesaj Kutusu */
.su-msg {
    display: none;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

.su-msg.success {
    display: block;
    background: #10b981;
    color: #ffffff;
}

.su-msg.error {
    display: block;
    background: #ef4444;
    color: #ffffff;
}

/* Form */
.su-group {
    margin-bottom: 18px;
}

.su-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #e5e7eb;
}

.su-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #333;
    border-radius: 10px;
    font-size: 15px;
    background: #2d2d2d;
    color: #ffffff;
    transition: all 0.2s;
}

.su-input:focus {
    outline: none;
    border-color: #6366f1;
    background: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.su-input::placeholder {
    color: #6b7280;
}

/* Submit Button */
.su-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}

.su-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.su-submit:active {
    transform: translateY(0);
}

/* Loading */
.su-loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.su-loading.show {
    display: block;
}

.su-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #333;
    border-top: 4px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 480px) {
    .su-title {
        font-size: 20px;
    }
    
    .su-body {
        padding: 20px;
    }
}
