/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    overflow: auto;
}


/* Modal Styles */
/*.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}*/



.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    /* width: 90%; */
    /* width: 400px!important; */
    /* max-width: 600px; */
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin: 10% auto;
    /* padding: 0px; */
    max-height: 90vh;  /* Ekran yüksekliğinin %90'ı */
  overflow-y: auto;  
}
/* .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0px;
    border: 1px solid #888;
    width: 400px!important;
}
 */


.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--admin-border);
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--admin-text);
    font-weight: 600;
}



.modal-title {
    padding-bottom: 20px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

/*.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--admin-text);
    transition: all 0.2s ease;
}

.close-modal:hover {
    color: var(--admin-secondary);
    transform: rotate(90deg);
}*/