@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

body {
    background: #f8fafc !important;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    background: #ffffff;
}

/* Left Side: Image */
.login-visual {
    flex: 1.2;
    background: url('../images/login-bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    display: none; 
}

@media (min-width: 992px) {
    .login-visual {
        display: flex;
        align-items: center;
    }
}

.login-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.5) 100%);
    backdrop-filter: blur(2px);
}

.visual-content {
    position: relative;
    padding-left: 10%;
    z-index: 10;
    color: white;
    max-width: 80%;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.visual-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.visual-content p {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
}

/* Right Side: Form */
.login-form-side {
    flex: 0.8;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background: #ffffff;
    box-shadow: -20px 0 40px rgba(0,0,0,0.03);
    z-index: 20;
}

@media (max-width: 991px) {
    .login-form-side {
        max-width: 100%;
        flex: 1;
        padding: 30px;
    }
}

.login-form-container {
    width: 100%;
    max-width: 440px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-logo {
    margin-bottom: 50px;
    text-align: center;
}

.login-logo img {
    height: 55px;
    object-fit: contain;
}

.login-form-side h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: -1px;
}

.login-form-side p.subtitle {
    color: #64748b;
    margin-bottom: 45px;
    font-size: 16px;
    text-align: center;
    font-weight: 400;
}

/* Form Styling */
.form-group {
    margin-bottom: 28px !important;
    position: relative;
}

.form-group label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 10px !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-control {
    width: 100% !important;
    height: 58px !important;
    padding: 12px 22px !important;
    border: 2px solid #f1f5f9 !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-family: 'Outfit', sans-serif !important;
}

.form-control:focus {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15) !important;
    outline: none !important;
}

.password-container {
    position: relative;
}

.view-icon {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    font-size: 18px;
    transition: color 0.2s;
}

.view-icon:hover {
    color: #6366f1;
}

.btn-submit {
    width: 100% !important;
    height: 60px !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4) !important;
    letter-spacing: 0.5px !important;
    font-family: 'Outfit', sans-serif !important;
}

.btn-submit:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.5) !important;
}

.btn-submit:active {
    transform: translateY(0) !important;
}

.forgot-link {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: #4f46e5;
}

/* Footer Styling */
.login-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.login-footer a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.2s;
    font-weight: 500;
}

.login-footer a:hover {
    color: #4f46e5;
}

/* Override existing layouts */
#header, #nav, #content, #footer.container_12 {
    display: none !important;
}

fieldset {
    border: none !important;
    padding: 0 !important;
}

