@font-face {
    font-family: 'AvantGardeTRDemiBold';
    src: url('/assets/fonts/AVGARDD_2.woff2') format('woff2');
    font-weight: 700;
}
@font-face {
    font-family: 'AvantGardeTR';
    src: url('/assets/fonts/AVGARDN_2.woff2') format('woff2');
    font-weight: 400;
}

.login-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(.3,1.4,.4,1);
}
.login-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.login-popup {
    background: #fff;
    border-radius: 28px;
    padding: 44px 38px 36px 38px;
    width: 370px;
    max-width: 95vw;
    box-shadow: 0 8px 54px 0 rgba(60,30,10,.16);
    position: relative;
    font-family: 'AvantGardeTR', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ANİMASYON için: */
    transform: scale(0.97) translateY(40px);
    opacity: 0;
    transition: transform 0.33s cubic-bezier(.19,1.5,.4,1), opacity 0.25s cubic-bezier(.19,1.5,.4,1);
}
.login-popup-overlay.active .login-popup {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.login-popup-close {
    position: absolute;
    right: 18px; top: 16px;
    background: none;
    border: none;
    font-size: 27px;
    color: #e27924;
    cursor: pointer;
    transition: color .16s;
    z-index: 2;
}
.login-popup-close:hover { color: #191919; }
.login-popup-logo {
    width: 92px;
    margin-bottom: 16px;
}
.login-popup-title {
    font-family: 'AvantGardeTRDemiBold', 'AvantGardeTR', Arial, sans-serif;
    font-size: 34px;
    color: #191919;
    font-weight: 700;
    margin-bottom: 2px;
    text-align: center;
}
.login-popup-desc {
    color: #191919;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.84;
    margin-bottom: 28px;
    text-align: center;
}
.login-popup-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
}
.login-popup-form input {
    padding: 13px 15px;
    border: none;
    border-radius: 18px;
    background: #f6f3f1;
    font-family: 'AvantGardeTR', Arial, sans-serif;
    font-size: 18px;
    color: #191919;
    margin-bottom: 3px;
    outline: none;
    transition: box-shadow .14s;
}
.login-popup-form input:focus {
    box-shadow: 0 0 0 2px #e27924;
}
.login-popup-form button {
    background: #e27924;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 11px 0;
    font-size: 20px;
    font-family: 'AvantGardeTRDemiBold', 'AvantGardeTR', Arial, sans-serif;
    font-weight: 700;
    cursor: pointer;
    margin-top: 7px;
    transition: background .16s;
}
.login-popup-form button:hover { background: #191919; }
.login-popup-links {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}
.login-popup-links a {
    color: #e27924;
    font-size: 15px;
    text-decoration: none;
    font-family: 'AvantGardeTR', Arial, sans-serif;
    transition: color .14s;
}
.login-popup-links a:hover { color: #191919; }

@media (max-width: 500px) {
    .login-popup {
        padding: 20px 8vw 18px 8vw;
        min-width: 0;
        width: 99vw;
        border-radius: 16px;
    }
    .login-popup-title { font-size: 7vw; }
}
