/* ============================================================
   AUTH PAGE V2 STYLES
   ============================================================ */

.fifo-auth-page-v2 {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
    color: #334155;
}

.fifo-auth-page-header {
    margin-bottom: 30px;
}
.fifo-auth-page-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 8px;
}
.fifo-auth-page-header p {
    font-size: 15px;
    color: #64748B;
    margin: 0;
}

.fifo-auth-shell-v2 {
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    overflow: hidden;
    min-height: 600px;
}

/* LEFT SIDE: HERO BANNER */
.fifo-auth-hero-v2 {
    width: 45%;
    background: #6D28D9;
    padding: 40px;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.fifo-auth-hero-v2 h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.2;
    z-index: 2;
}
.fifo-auth-hero-v2 h2 strong {
    font-weight: 900;
}

.fifo-auth-hero-v2 .hero-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    z-index: 2;
}

.fifo-auth-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 2;
    margin-bottom: auto;
}
.fifo-auth-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.fifo-auth-benefits .icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}
.fifo-auth-benefits .icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}
.fifo-auth-benefits .text {
    display: flex;
    flex-direction: column;
}
.fifo-auth-benefits .text strong {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.fifo-auth-benefits .text span {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.hero-pets-img {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 80%;
    max-width: 320px;
    z-index: 1;
    pointer-events: none;
}

/* RIGHT SIDE: AUTH FORM */
.fifo-auth-card-v2 {
    width: 55%;
    padding: 40px 60px;
    background: #fff;
    position: relative;
    z-index: 2;
}

.fifo-auth-tabs {
    display: flex;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 30px;
}
.fifo-auth-tabs .tab {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #94A3B8;
    text-decoration: none;
    position: relative;
    transition: all 0.2s;
}
.fifo-auth-tabs .tab.active {
    color: #6D28D9;
}
.fifo-auth-tabs .tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6D28D9;
}

.fifo-input-group {
    margin-bottom: 20px;
}
.fifo-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}
.fifo-input-group .input-wrapper {
    position: relative;
}
.fifo-input-group .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    display: flex;
    align-items: center;
}
.fifo-input-group .input-icon svg {
    width: 18px;
    height: 18px;
}
.fifo-input-group input {
    width: 100%;
    padding: 14px 14px 14px 40px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #0F172A;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
}
.fifo-input-group input:focus {
    border-color: #6D28D9;
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
}
.fifo-input-group .input-icon-right {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.fifo-auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}
.fifo-auth-actions .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    cursor: pointer;
}
.fifo-auth-actions .forgot-pwd {
    color: #6D28D9;
    font-weight: 600;
    text-decoration: none;
}
.fifo-auth-actions .forgot-pwd:hover {
    text-decoration: underline;
}

.fifo-btn-submit-v2 {
    width: 100%;
    padding: 14px;
    background: #6D28D9;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.fifo-btn-submit-v2:hover {
    background: #5B21B6;
}

.fifo-auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: #94A3B8;
    font-size: 13px;
}
.fifo-auth-divider::before,
.fifo-auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #E2E8F0;
}
.fifo-auth-divider span {
    padding: 0 16px;
}

.fifo-social-login {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}
.social-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.fifo-auth-footer-text {
    text-align: center;
    font-size: 14px;
    color: #64748B;
}
.fifo-auth-footer-text a {
    color: #6D28D9;
    font-weight: 600;
    text-decoration: none;
}
.fifo-auth-footer-text a:hover {
    text-decoration: underline;
}

/* TRUST BANNER */
.fifo-auth-trust-banner {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #E2E8F0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.trust-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.trust-text {
    display: flex;
    flex-direction: column;
}
.trust-text strong {
    font-size: 14px;
    color: #0F172A;
    margin-bottom: 2px;
}
.trust-text span {
    font-size: 12px;
    color: #64748B;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .fifo-auth-shell-v2 {
        flex-direction: column;
    }
    .fifo-auth-hero-v2 {
        width: 100%;
        padding: 30px;
        min-height: 400px;
    }
    .hero-pets-img {
        max-width: 240px;
        right: 20px;
        left: auto;
        bottom: 0;
    }
    .fifo-auth-card-v2 {
        width: 100%;
        padding: 30px;
    }
    .fifo-auth-trust-banner {
        flex-wrap: wrap;
        gap: 20px;
    }
    .trust-item {
        width: calc(50% - 10px);
    }
}
@media (max-width: 576px) {
    .fifo-auth-card-v2 {
        padding: 24px 16px;
    }
    .fifo-social-login {
        flex-direction: column;
    }
    .trust-item {
        width: 100%;
    }
    .hero-pets-img {
        opacity: 0.2;
    }
}
