﻿/* ==========================================================
   ARMINDO INVENTORY — LOGIN PAGE PROFESSIONAL REDESIGN
   ========================================================== */

/* Page background */
body {
    background-color: #f4f6f9 !important;
    margin: 0;
    font-family: 'Inter', sans-serif !important;
}

.wrapper {
    background: #f4f6f9 !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem;
}

/* Centered Box layout */
.login-box-wrapper {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    min-height: 550px !important;
    max-width: 950px !important;
    margin: 0 auto !important;
    display: flex !important;
    width: 100% !important;
    overflow: hidden !important;
}

/* Left Side: Branding */
.login-brand-side {
    background: linear-gradient(135deg, #1e2a4a 0%, #1a3458 100%) !important;
    padding: 4rem !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
.login-brand-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59,91,219,0.3) 0%, transparent 60%);
    pointer-events: none;
}
.login-brand-side > div {
    position: relative;
    z-index: 2;
}

.login-brand-badge {
    display: inline-block !important;
    background: rgba(255,255,255,0.1) !important;
    color: #8da4ff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 0.4rem 1rem !important;
    border-radius: 20px !important;
    margin-bottom: 2rem !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

.login-brand-title {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
}

.login-brand-sub {
    font-size: 1.1rem !important;
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.6 !important;
}

.login-brand-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.login-brand-features li {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}
.login-brand-features li::before {
    content: '\2713' !important; /* Checkmark */
    color: #3b5bdb !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.65rem !important;
    font-weight: bold !important;
    flex-shrink: 0 !important;
}

/* Right Side: Form */
.login-form-side {
    padding: 4rem 3rem !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.login-form-side form {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
}

.login-form-header {
    text-align: center !important;
    margin-bottom: 2.5rem !important;
}

.login-form-header img {
    width: 180px !important;
    height: auto !important;
    object-fit: contain !important;
    /* NOTE: NO FILTER SO THE ORIGINAL LOGO (JPEG) COLORS STAY INTACT */
}

.login-form-side .form-group {
    margin-bottom: 1.5rem !important;
}

.login-form-side .form-control {
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    height: auto !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
}

.login-form-side .form-control:focus {
    background: #ffffff !important;
    border-color: #3b5bdb !important;
    box-shadow: 0 0 0 3px rgba(59,91,219,0.15) !important;
    outline: none !important;
}

.login-form-side .btn.sbt {
    background: #3b5bdb !important;
    background-image: linear-gradient(135deg, #3b5bdb 0%, #364fc7 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.85rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-top: 1rem !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(59,91,219,0.25) !important;
}

.login-form-side .btn.sbt:hover {
    background: #364fc7 !important;
    background-image: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(59,91,219,0.35) !important;
}

/* Hide old background container artifacts just in case */
.col-img-lgn, #Logo, .card-header.ra {
    background: transparent !important; 
    border: none !important;
}

/* Expired banner */
.ExpiredServices {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background-color: #e03131 !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    text-align: center !important;
    font-size: 0.85rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Responsive */
@media (max-width: 767px) {
    .login-box-wrapper { margin: 1rem !important; border-radius: 12px !important; flex-direction: column !important; min-height: auto !important; }
    .login-form-side { padding: 3rem 2rem !important; width: 100% !important; }
    .login-brand-side { display: none !important; }
}