.popup-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    z-index: 99998;
}

.popup-overlay.active{
    opacity: 1;
    visibility: visible;
}

.popup{

    width:560px;

    max-width:92%;

    min-height:430px;

    background:#2b2b2b;
    border:2px solid #f4c542;
    border-radius:16px;

    padding:32px;

    color:white;
    position:relative;

    transform:scale(.85);
    transition:.25s;

    box-shadow:0 20px 50px rgba(0,0,0,.45);
}

.popup-overlay.active .popup{
    transform: scale(1);
}

.popup-close{
    position:absolute;
    top:12px;
    right:12px;
    width:34px;
    height:34px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    font-size:20px;
    background:#444;
    color:white;
}

.popup-close:hover{
    background:#666;
}

.popup-icon{
    width:72px;
    height:72px;
    border-radius:50%;
    margin:auto;
    margin-bottom:18px;
    background:#28a745;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
}

#popupTitle{
    text-align:center;
    margin-bottom:15px;
}

#popupContent{

    text-align:left;

    line-height:1.5;

    margin:20px 0 30px;

}

.popup-buttons{
    display:flex;
    gap:12px;
}

.popup-btn{
    flex:1;
    border:none;
    cursor:pointer;
    border-radius:10px;
    padding:12px;
    font-size:15px;
    font-weight:bold;
}

.popup-btn.gold{
    background:#f4c542;
    color:#222;
}

.popup-btn.dark{
    background:#444;
    color:white;
}

.popup-btn:hover{
    opacity:.9;
}

.popup-info{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.popup-item{
    background:#363636;
    border-radius:10px;
    padding:12px 15px;
}

.popup-item span{
    display:block;
    color:#f4c542;
    font-size:14px;
    margin-bottom:4px;
    font-weight:700;
}

.popup-item strong{
    display:block;
    font-size:18px;
    color:#fff;
    font-weight:600;
}

/* ========================= */
/* Popup Bilgi Tablosu */
/* ========================= */

.popup-table{

    width:100%;

    border-collapse:collapse;

    margin-top:15px;

    margin-bottom:20px;

}

.popup-table tr{

    border-bottom:1px solid rgba(255,255,255,.08);

}

.popup-table tr:last-child{

    border:none;

}

.popup-table td{

    padding:13px 6px;

    font-size:17px;

    vertical-align:middle;

}

.popup-table td:first-child{

    width:42%;

    color:#f4c542;

    font-weight:700;

}

.popup-table td:last-child{

    color:white;

    font-weight:600;

    text-align:right;

}

.site-update-btn {
    width: 100%;

    background: #181818;
    color: #f0c419;

    border: 1px solid #f0c419;
}

.site-update-btn:hover {
    background: #f0c419;
    color: #111;

    transform: translateY(-2px);
}

.site-update-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   MAAŞ SONUÇ DURUMU
======================================== */

.salary-result-row td {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

.salary-result-label {
    color: #ffd400 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.salary-result-value {
    font-size: 19px !important;
    font-weight: 900 !important;
    line-height: 1.3;
    text-align: right;
}

@media (max-width: 520px) {

    .salary-result-value {
        font-size: 17px !important;
    }
}