/* YesAdmin auth login layout v1.0.0 */

body.fi-panel-admin.fi-body {
    background: transparent;
}

.yesadmin-auth-shell {
    position: relative;
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: #f8fafc;
}

.yesadmin-auth-locale-bar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

[dir='rtl'] .yesadmin-auth-locale-bar {
    right: auto;
    left: 1rem;
}

.yesadmin-auth-panel {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.yesadmin-auth-brand {
    margin-bottom: 2rem;
}

.yesadmin-auth-brand__text {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ea580c;
}

.yesadmin-auth-brand__logo {
    max-height: 3rem;
    width: auto;
    object-fit: contain;
}

.yesadmin-auth-content {
    width: 100%;
    max-width: 26rem;
}

.yesadmin-auth-form-wrap {
    width: 100%;
}

.yesadmin-auth-form__title {
    margin: 0 0 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #0f172a;
}

.yesadmin-auth-form__subtitle {
    margin: 0 0 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #64748b;
}

.yesadmin-auth-form .fi-fo-field-wrp-label span {
    font-weight: 600;
    color: #334155;
}

.yesadmin-auth-form .fi-input-wrp {
    border: 0;
    border-bottom: 1px solid #cbd5e1;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.yesadmin-auth-form .fi-input-wrp:focus-within {
    border-color: #ea580c;
    box-shadow: none;
}

.yesadmin-auth-form .fi-input {
    padding-left: 0;
    padding-right: 0;
}

.yesadmin-auth-form .fi-form-actions {
    margin-top: 1.75rem;
}

.yesadmin-auth-form .fi-btn {
    width: 100%;
    justify-content: center;
    min-height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 12px 24px -16px rgba(234, 88, 12, 0.85);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.yesadmin-auth-form .fi-btn:hover {
    background: linear-gradient(135deg, #fb923c, #f97316);
}

.yesadmin-auth-visual {
    display: none;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.yesadmin-auth-visual--default {
    background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
}

.yesadmin-auth-illustration {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yesadmin-two-factor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.yesadmin-two-factor-submit {
    flex: 1 1 100%;
}

@media (min-width: 1024px) {
    .yesadmin-auth-panel {
        flex: 0 0 42%;
        max-width: 42rem;
        padding: 3rem 4.5rem;
    }

    .yesadmin-auth-visual {
        display: block;
        flex: 1 1 auto;
    }
}

.dark .yesadmin-auth-shell {
    background: #0f172a;
}

.dark .yesadmin-auth-form__title {
    color: #f8fafc;
}

.dark .yesadmin-auth-form__subtitle {
    color: #94a3b8;
}

.dark .yesadmin-auth-form .fi-fo-field-wrp-label span {
    color: #e2e8f0;
}

.dark .yesadmin-auth-form .fi-input-wrp {
    border-bottom-color: #475569;
}

.dark .yesadmin-auth-form .fi-input {
    color: #f8fafc;
}

.dark .yesadmin-auth-visual--default {
    background: linear-gradient(180deg, #1c1917 0%, #292524 100%);
}
