@charset "utf-8";
/* CSS Document */

/* ================= MODAL ANA YAPI ================= */
.modal {
    display: none; /* Varsayılan olarak gizli */
    position: fixed; 
    z-index: 9999; /* Her şeyin üstünde görünsün */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Arka planı karart */
    backdrop-filter: blur(5px); /* Arka planı bulanıklaştır */
}

/* ================= MODAL İÇERİK KUTUSU ================= */
.modal-content {
    position: relative;
    background: linear-gradient(#2e323a, #24272e);
    margin: 10% auto; /* Üstten %10 boşluk, yatayda ortala */
    padding: 25px;
    border: 1px solid #3a3f48;
    width: 350px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    animation: modalAcilis 0.3s ease-out; /* Açılış animasyonu */
}

/* ================= INPUT VE GRUPLAR ================= */
.modal-content .group {
    margin-bottom: 20px;
    text-align: left;
}

.modal-content input {
    width: 100%;
    box-sizing: border-box; /* Padding'in genişliği bozmasını engeller */
    background: #1f2228;
    color: #fff;
    border: 1px solid #3a3f48;
    padding: 12px;
    border-radius: 8px;
    margin-top: 5px;
}

.modal-content input:focus {
    border-color: #5b8fd8;
    outline: none;
}

/* ================= KAPATMA BUTONU (X) ================= */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aab0bb;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #ff5f57;
}
.row {
  display: flex;       /* yan yana */
  gap: 20px;           /* arada boşluk */
  margin-bottom: 12px;
}

/* ================= ANİMASYON ================= */
@keyframes modalAcilis {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}