/* ==============================================================================
   BIZENTRIX CONNECT CRM - EXECUTIVE LOGIN STYLESHEET
   ============================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100vh;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0f172a;
    overflow-x: hidden;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* ==============================================================================
   LEFT HERO SIDE (55% Width)
   ============================================================================== */
.left-hero {
    flex: 1.2;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0b1329 100%);
    color: #ffffff;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    opacity: 0.14;
    z-index: 0;
    pointer-events: none;
}

.left-content-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    margin-y: auto;
}

/* Brand Header */
.brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.brand-title-box {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.brand-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 1px;
}

/* Headline */
.hero-headline-block {
    margin-bottom: 36px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.highlight-green {
    color: #4cd137;
    background: linear-gradient(135deg, #4cd137, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 520px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 16px;
    border-radius: 12px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1.1rem;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.feature-card h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 2px;
}

.feature-card p {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.35;
}

/* Footer Badge */
.hero-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.85rem;
}

.trusted-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.hero-footer strong {
    color: #ffffff;
    display: block;
}

.hero-footer .small-text {
    font-size: 0.76rem;
    color: #94a3b8;
}

/* ==============================================================================
   RIGHT FORM SIDE (45% Width)
   ============================================================================== */
.right-form-side {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    min-height: 100vh;
    position: relative;
}

.form-card-container {
    width: 100%;
    max-width: 420px;
    text-align: left;
}

.form-header-center {
    text-align: center;
    margin-bottom: 28px;
}

.form-brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 12px;
}

.form-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a !important;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.form-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 0;
}

/* Form Controls */
.form-group-custom {
    margin-bottom: 18px;
}

.form-label-custom {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.password-label-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 6px !important;
}

.forgot-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
    z-index: 5;
}

.form-control-custom {
    width: 100%;
    height: 48px;
    padding-left: 42px !important;
    padding-right: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
}

.form-control-custom:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.remember-row {
    margin-bottom: 20px;
}

/* Submit Button */
.btn-submit-primary {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-submit-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Divider Line */
.divider-line {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 500;
}

.divider-line::before,
.divider-line::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider-line span {
    padding: 0 12px;
}

/* Social Buttons */
.social-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    height: 44px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* Partner Promo Card */
.partner-promo-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-top: 20px;
}

.promo-header {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.promo-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 12px;
}

/* Secure Footer */
.secure-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: #64748b;
}

.secure-footer strong {
    color: #1e293b;
    display: block;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
    }

    .left-hero {
        padding: 32px 24px;
        flex: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .right-form-side {
        padding: 32px 20px;
        min-height: auto;
    }
}