/* ===========================================================
   MODAL – CURSOR OVERRIDES
=========================================================== */

.modal-box,
.modal-box * {
    cursor: auto !important;
}

.modal-option,
.modal-option * {
    cursor: pointer !important;
}

.modal-close {
    cursor: pointer !important;
}

.modal-close:hover {
    opacity: 0.6;
    transform: scale(1.1);
}

/* ===========================================================
   MODAL OVERLAY
=========================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.80);
    display: none;
    z-index: 2000;
    animation: fadeIn 0.3s ease forwards;
}

/* ===========================================================
   MODAL BOX
=========================================================== */

.modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 420px;
    background: #F2E6D8;
    padding: 30px;
    border-radius: 12px;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    display: none;
    z-index: 2100;
    margin-top: 25px;
    animation: modalPop 0.3s ease forwards;
}

/* Başlık */
.modal-box h2 {
    text-align: center;
    color: #3A3A3A;
    margin-bottom: 25px;
    font-family: 'Inter18Bold', sans-serif;
}

/* Kapatma butonu */
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #000000;
    font-size: 28px;
}

/* ===========================================================
   MODAL OPTIONS
=========================================================== */

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.modal-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #cc8b0034;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.25s;
    margin-bottom: 5px;
}

.modal-option:hover {
    background: #CC8A00;
    transform: translateY(-2px);
}

.modal-option img {
    width: 32px;
    height: 32px;
}

.modal-option span {
    color: #3A3A3A;
    font-size: 18px;
    font-family: 'Inter18Regular', sans-serif;
}

/* ===========================================================
   STATES
=========================================================== */

.modal-box.closing {
    animation: modalHide 0.3s ease forwards;
}

.modal-overlay.closing {
    animation: fadeOut 0.3s ease forwards;
}

/* ===========================================================
   ANIMATIONS
=========================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes modalPop {
    0%   { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
}

@keyframes modalHide {
    0%   { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}
