* {
    font-family: 'Rubik', sans-serif;
}

body {
    background-color: #482963;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.login-wrapper {
    min-height: 100vh;
    display: block;
    /* Remove flex to let row behave normally */
}

.row.g-0 {
    width: 100%;
    margin: 0;
    min-height: 100vh;
}

/* Left Section Styles */
.left-section {
    background-color: #482963;
    position: relative;
    overflow: hidden;
    color: white;
}

.left-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

.left-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.welcome-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.welcome-text {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.welcome-text strong {
    font-weight: 600;
}

/* Right Section Styles */
.right-section {
    background-color: #482963;
    display: flex;
    justify-content: flex-end;
    min-height: 100vh;
}

.login-container {
    padding-left: 20px;
    background-color: white;
    width: 100%;
    height: 100%;
    border-top-left-radius: 40px;
    /* Even rounder */
    border-bottom-left-radius: 40px;
    /* Even rounder */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #ddd;
    /* Multi-layered curve effect + soft card shadow */
    box-shadow: -30px 0 0 rgba(255, 255, 255, 0.1),
        -60px 0 0 rgba(255, 255, 255, 0.05),
        -15px 0 30px rgba(0, 0, 0, 0.1);
}

.login-panel {
    width: 100%;
    max-width: 600px;
    padding: 0 40px;
}

.login-logo {
    height: 120px;
    margin-bottom: 3rem;
}

.login-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #482963;
    margin-bottom: 0.2rem;
}

.login-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2.5rem;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.form-label .text-danger {
    margin-left: 2px;
}

.custom-input-group {
    border: 1.8px solid #00B1A8;
    border-radius: 10px;
    background-color: #fff;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.custom-input-group:focus-within {
    border-color: #482963;
    box-shadow: 0 0 0 3px rgba(72, 41, 99, 0.1);
}

.custom-input-group .form-control {
    border: none;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    background: transparent;
    color: #333;
}

.custom-input-group .form-control::placeholder {
    color: #aaa;
}

.custom-input-group .form-control:focus {
    box-shadow: none;
    outline: none;
}

.custom-input-group .input-group-text {
    background: transparent;
    border: none;
    color: #ccc;
    padding-right: 1.2rem;
    font-size: 1.3rem;
}

.custom-checkbox .form-check-input {
    border: 2px solid #ccc;
    border-radius: 4px;
    width: 1.3rem;
    height: 1.3rem;
    cursor: pointer;
}

.custom-checkbox .form-check-input:checked {
    background-color: #482963;
    border-color: #482963;
}

.custom-checkbox .form-check-label {
    margin-left: 0.6rem;
    color: #444;
    font-weight: 500;
    cursor: pointer;
}

.forgot-link {
    color: #70c637;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #5ea82d;
    text-decoration: underline;
}

.btn-login {
    background-color: #482963;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 10px;
    padding: 0.9rem;
    border: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-login:hover {
    /* Remove background color change on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 41, 99, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

/* Error styling */
.text-danger.small {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .welcome-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    body {
        height: auto;
        overflow: auto;
    }

    .login-wrapper {
        height: auto;
        flex-direction: column;
    }

    .left-section,
    .right-section {
        width: 100%;
        height: auto;
    }

    .left-section {
        padding: 5rem 1rem;
    }

    .login-container {
        border-radius: 0;
        padding: 4rem 1rem;
        box-shadow: none;
    }

    .login-panel {
        padding: 0 20px;
    }
}