/* Font: Plus Jakarta Sans */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Brand Text Styling */
.brand-text {
    text-align: center;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a2234;
    letter-spacing: -0.5px;
    line-height: 1.2;
    display: block;
}

/* Login Page Layout - Bootstrap 5 Based */
.login-page {
    display: flex;
    min-height: 100vh;
}

/* Left Panel */
.login-panel {
    flex: 1;
    background: linear-gradient(135deg, #206bc4 0%, #1a2234 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Animated Blobs - More Visible */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.85;
    animation: float 20s infinite ease-in-out;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.2);
}

.blob-1 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, rgba(64, 169, 255, 0.6) 0%, rgba(32, 107, 196, 0.3) 100%);
    bottom: 15%;
    right: 5%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.05) 100%);
    top: 50%;
    left: 55%;
    animation-delay: -10s;
    animation-duration: 18s;
}

.blob-4 {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.5) 0%, rgba(64, 169, 255, 0.2) 100%);
    top: 25%;
    left: 30%;
    animation-delay: -15s;
    animation-duration: 22s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.login-panel-content {
    max-width: 500px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.login-panel h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.login-panel p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.login-form-section h2 {
    line-height: 1.3;
}

.login-form-section p {
    line-height: 1.5;
}

.login-panel-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.login-panel-feature {
    flex: 1;
    text-align: center;
}

.login-panel-feature i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.login-panel-feature div {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Right Form Section */
.login-form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: #f6f8fb;
}

/* Modern Form Inputs Only */
.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-input-wrapper {
    position: relative;
}

.form-input-wrapper .form-control {
    padding-left: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-wrapper .form-control:hover {
    border-color: #9ca3af;
}

.form-input-wrapper .form-control:focus {
    border-color: #206bc4;
    box-shadow: 0 0 0 3px rgba(32, 107, 196, 0.1);
}

.form-input-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1rem;
    pointer-events: none;
    z-index: 10;
}

.form-input-wrapper:focus-within .form-input-icon {
    color: #206bc4;
}

.form-input-wrapper.password .form-control {
    padding-right: 2.5rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    cursor: pointer;
    text-decoration: none;
    z-index: 10;
}

.password-toggle:hover {
    color: #206bc4;
}

/* Button Loading Animation */
.btn-login-loading {
    position: relative;
    transition: all 0.3s ease;
}

.btn-login-loading:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.btn-login-loading .btn-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login-loading.btn-loading {
    pointer-events: none;
}

/* Spinner animation */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive - Mobile: Hide left panel, show only form */
@media (max-width: 991.98px) {
    .login-page {
        flex-direction: column;
    }

    .login-panel {
        display: none;
    }

    .login-form-section {
        flex: 1;
        padding: 1.5rem;
        min-height: 100vh;
        justify-content: center;
    }
}
