/* Auth — Giriş/Kayıt sayfaları */

.auth-form {
    width: 100%;
}

.auth-field {
    position: relative;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 1;
    transition: color 0.25s ease;
}

.auth-input-wrap:focus-within .auth-input-icon {
    color: #007D8A;
}

/* Asıl input — Breeze defaults üstüne aksanlı kuralları */
.auth-text-input {
    height: 2.85rem;
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #0f172a;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.auth-text-input--prefixed {
    padding-left: 2.65rem;
}

.auth-text-input::placeholder {
    color: #94a3b8;
}

.auth-text-input:focus {
    outline: none;
    background: #ffffff;
}

/* Şifre göster/gizle butonu */
.auth-input-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 0.4rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.auth-input-toggle:hover {
    background: #f1f5f9;
    color: #475569;
}

.auth-input-toggle:focus-visible {
    outline: 2px solid rgba(0, 155, 170, 0.4);
    outline-offset: 1px;
}

/* Şifre yardım metni */
.auth-hint {
    margin-top: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: #64748b;
}

.auth-hint i {
    color: #94a3b8;
}

/* Row — checkbox + forgot link */
.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Custom checkbox */
.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.auth-check__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.auth-check__box {
    display: grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 0.35rem;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #ffffff;
    font-size: 0.6rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.auth-check__box i {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.auth-check__input:checked + .auth-check__box {
    background: linear-gradient(135deg, #009BAA, #084F59);
    border-color: transparent;
}

.auth-check__input:checked + .auth-check__box i {
    opacity: 1;
    transform: scale(1);
}

.auth-check__input:focus-visible + .auth-check__box {
    outline: 2px solid rgba(0, 155, 170, 0.4);
    outline-offset: 2px;
}

.auth-check__label {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
}

/* Forgot password / general auth link */
.auth-link {
    font-size: 0.85rem;
    color: #007D8A;
    font-weight: 700;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #084F59;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Primary submit button (auth-spesifik override) */
.auth-primary-btn {
    background: linear-gradient(135deg, #009BAA 0%, #084F59 100%);
    box-shadow: 0 12px 24px -10px rgba(0, 155, 170, 0.55);
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9rem;
    font-weight: 800;
    height: 2.85rem;
}

.auth-primary-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 16px 28px -10px rgba(0, 155, 170, 0.65);
}

.auth-primary-btn:active {
    transform: translateY(0);
}

.auth-submit-btn {
    width: 100%;
}

.auth-submit-btn i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.auth-submit-btn:hover i {
    transform: translateX(2px);
}

/* Alt satır (kayıt ol/giriş yap bağlantısı) */
.auth-altline {
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-altline__link {
    color: #007D8A;
    font-weight: 800;
    transition: color 0.2s ease;
}

.auth-altline__link:hover {
    color: #084F59;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* KVKK / politika metni */
.auth-policy {
    text-align: center;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.55;
}

/* Session status */
.auth-session-status {
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    background: rgba(0, 155, 170, 0.10);
    border: 1px solid rgba(0, 193, 213, 0.25);
    color: #007D8A;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Error list */
.auth-input-error i {
    color: #f43f5e;
}

/* Guest layout — sol panel polish */
.auth-brand-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.auth-brand-stats__item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.85rem;
    padding: 0.85rem;
    text-align: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.auth-brand-stats__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.auth-brand-stats__label {
    margin-top: 0.3rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(205, 245, 248, 0.85);
}

/* Mobil tamponlama */
@media (max-width: 640px) {
    .auth-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .auth-link {
        margin-left: 0;
    }
}
