/* login.css - Reconstrução de Layout Responsivo (YMS) */
html, body, #page-top {
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.content-wrapper {
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.authentication-wrapper {
    display: flex;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.auth-left {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(30, 41, 59, 0.9) 100%), url('../../../../img/yms_logistics_bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem !important;
    height: 100vh !important;
    max-height: 100vh !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(25, 42, 70, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    text-align: left;
    max-width: 560px !important;
    width: 100%;
}

.glass-card h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 0px;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card h3 {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 24px;
    margin-top: 5px;
}

.glass-card p {
    color: #cbd5e1;
    line-height: 1.65;
    font-size: 1rem;
    margin: 0;
}

.operational-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 18px;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(6px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(56, 189, 248, 0.12);
    border-radius: 10px;
    color: #38bdf8;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text h4 {
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
}

.feature-text p {
    margin: 1px 0 0 0;
    color: #94a3b8;
    font-size: 0.76rem;
    line-height: 1.3;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(56, 189, 248, 0.12);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    width: fit-content;
    color: #38bdf8;
}

.auth-badge .status-dot {
    width: 8px;
    height: 8px;
    background-color: #38bdf8;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px #38bdf8;
}

.auth-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 3rem !important;
    height: 100vh !important;
    max-height: 100vh !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.auth-form-container {
    width: 100%;
    max-width: 380px !important;
    padding: 45px 15px;
    background-color: transparent !important;
    box-sizing: border-box;
    box-shadow: none !important;
    border: none !important;
    transform: translateY(-5vh);
    transition: transform 0.3s ease;
}

.auth-left-content {
    transform: translateY(-5vh);
    transition: transform 0.3s ease;
}

.auth-form-container .app-brand-logo {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.auth-form-container h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.auth-form-container p {
    color: #64748b;
    margin-bottom: 28px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.input-group-custom {
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border: 1.5px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-group-custom:focus-within {
    border-color: #294c8e;
    box-shadow: 0 0 0 4px rgba(41, 76, 142, 0.08);
    background: #ffffff;
}

.input-group-custom i {
    color: #94a3b8;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.input-group-custom:focus-within i {
    color: #294c8e;
}

.input-group-custom input {
    border: none;
    background: transparent;
    box-shadow: none !important;
    height: 54px;
    padding-left: 12px;
    width: 100%;
    font-size: 1rem;
    color: #1e293b;
}

.input-group-custom input::placeholder {
    color: #94a3b8;
}

.input-group-custom input:focus {
    box-shadow: none;
    outline: none;
    background: transparent;
}

.btn-login-custom {
    background-color: #294c8e;
    color: #fff;
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    margin-top: 20px;
}

.btn-login-custom:hover {
    background-color: #1a3363;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(41, 76, 142, 0.25);
    color: #fff;
}

.btn-login-custom:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(41, 76, 142, 0.2);
}

.btn-login-custom i {
    transition: transform 0.25s ease;
}

.btn-login-custom:hover i {
    transform: translateX(4px);
}

/* Responsividade (Tablets e Mobile) */
@media (max-width: 991px) {
    html, body, #page-top {
        height: auto !important;
        max-height: none !important;
        overflow: auto !important;
        overflow-y: auto !important;
    }
    
    .content-wrapper {
        height: auto !important;
        overflow: auto !important;
    }
    
    .authentication-wrapper {
        flex-direction: column;
        height: auto !important;
        max-height: none !important;
        overflow: auto !important;
    }
    
    .auth-left {
        display: none !important;
    }
    
    .auth-right {
        width: 100%;
        height: auto !important;
        max-height: none !important;
        padding: 2rem 1.5rem !important;
        background: #ffffff;
        overflow: auto !important;
    }
    
    .auth-form-container {
        max-width: 100%;
        background: transparent !important;
        padding: 35px 15px;
        box-shadow: none !important;
        border: none !important;
        transform: none !important;
    }
    
    .auth-left-content {
        transform: none !important;
    }
    
    .auth-form-container .app-brand-logo {
        justify-content: center;
    }
    
    .auth-form-container h4, .auth-form-container p {
        text-align: center;
    }
}

@media (min-width: 1400px) {
    .auth-form-container {
        max-width: 400px !important;
        padding: 55px 15px;
    }
    .glass-card {
        max-width: 720px !important;
        padding: 4.5rem 3.5rem;
    }
    .glass-card h1 {
        font-size: 5.5rem;
    }
    .feature-item {
        padding: 12px 20px;
        gap: 18px;
    }
    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.45rem;
    }
    .feature-text h4 {
        font-size: 0.95rem;
    }
    .feature-text p {
        font-size: 0.8rem;
    }
}

@media (min-width: 992px) {
    .authentication-wrapper .auth-left {
        flex: 0 0 68% !important;
        max-width: 68% !important;
        width: 68% !important;
    }
    .authentication-wrapper .auth-right {
        flex: 0 0 32% !important;
        max-width: 32% !important;
        width: 32% !important;
    }
    .glass-card {
        max-width: 650px !important;
    }
}

.grecaptcha-badge {
    visibility: hidden !important;
}