/* =====================================================
   LOGIN MODAL (SADECE MODAL ALANI)
   ===================================================== */

/* LOGIN BUTTON (SADECE MODAL İÇİN) */
.login-modal .login-btn {
    display: inline-block;
    width: 100px;
    background-color: #296299;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 10px 0;
    transition: background-color 0.25s ease;
}

.login-modal .login-btn:hover {
    background-color: #1f4f7a;
    color: #fff;
}

/* OVERLAY */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* MODAL */
.login-modal {
    background: #fff;
    width: 360px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 0.25s ease;
}

/* LOGIN MODAL - TEXT TRANSFORM OVERRIDE */
.login-modal input,
.login-modal input::placeholder {
    text-transform: none !important;
}


@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.login-title {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.login-group {
    margin-bottom: 15px;
}

.login-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: #555;
}

.login-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
}

.login-links {
    text-align: right;
    font-size: 13px;
    margin-bottom: 15px;
}

.login-links a {
    color: #777;
    text-decoration: none;
}

.login-submit {
    width: 100%;
    padding: 12px;
    background: #296299;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.login-submit:hover {
    background: #5190cc;
}

.login-footer {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.login-footer-text {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.login-create {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.login-create:hover {
    background-color: #e9e9e9;
}

.login-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.login-helper-text {
    display: block;
    margin: 10px 0 6px;
    font-size: 12px;
    color: #999;
    text-align: center;
    line-height: 1.4;
}


/* =====================================================
   HEADER AUTH BUTTONS (SADECE HEADER)
   ===================================================== */

.header-auth-btn {
    min-width: 108px;
    height: 33px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 14px;

    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1;

    color: #fff;
    background-color: #296299;

    border: none;

    text-decoration: none;
    cursor: pointer;

    /* 🔥 BUTTON RESET */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    transition: background-color 0.25s ease;
}

.header-auth-btn:hover {
    background-color: #1f4f7a;
    color: #fff;
}

/* LOGOUT (SECONDARY) */
.header-auth-btn.secondary {
    background-color: #6c757d;

    /* 🔧 OPTİK DENGE */
    min-width: 96px;
    padding: 0 10px;
    font-size: 12.5px;
}

.header-auth-btn.secondary:hover {
    background-color: #5a6268;
}

.login-error {
    background: #fdecea;
    color: #b42318;
    border: 1px solid #f5c2c0;
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
    font-size: 14px;
}
