/* delete-account.css */

/* Modal için özel stiller */
.modal-content {
    border-radius: 8px;
    border: none;
    max-width: 400px;
    margin: 0 auto;
}

.modal-header {
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.modal-body {
    padding: 20px;
    text-align: center;
}

.modal-body .form-group {
    margin-bottom: 20px;
}

.modal-body .form-group label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.modal-body .form-group input {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    font-size: 1rem;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.modal-body .invalid-feedback {
    display: block;
    text-align: center;
}

.modal-footer {
    border-top: 1px solid #ddd;
    padding: 15px;
    justify-content: center;
}

.modal-footer .btn-delete {
    background-color: #007782; /* Buton rengini #007782 olarak ayarladık */
    border: none;
    color: white; /* Yazıyı beyaz yaptık */
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.modal-footer .btn-delete:hover {
    background-color: #005f63;
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.modal-footer .btn-secondary:hover {
    background-color: #5a6268;
}

/* Modal arka planını modalın arkasına yerleştirme */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5); /* Yarı saydam siyah */
    z-index: 100; /* Modal z-index'ten düşük (varsayılan modal z-index: 1050) */
}

/* Modalın ön planda kalmasını sağlama */
.modal {
    z-index: 1060; /* Modalın üstte kalması için z-index'i artırdık */
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .modal-body .form-group input {
        max-width: 100%;
    }
}