/* Login Page Specific Styles - Mockup-Perfect V3 */

:root {
    --primary-gradient: linear-gradient(90deg, #6A35FF 0%, #2E5BFF 100%);
    --button-shadow: 0px 10px 30px rgba(46, 91, 255, 0.2);
    --input-bg: #E9EEF5;
    --error-color: #FF5252;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'ColourSans', sans-serif;
    height: 100%;
    overflow-x: hidden;
    background-color: white;
}

.login-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    width: 100vw;
}

@media (min-width: 992px) {
    .login-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Left Column: Blue/Purple Waves starting from left */
.login-left {
    background-image: url('../../images/bg-login.png');
    background-size: 200% 100%;
    background-position: left center;
    background-repeat: no-repeat;
    display: none;
    flex-direction: column;
    justify-content: center;
    padding: 10% 12%;
    color: white;
    position: relative;
}

@media (min-width: 992px) {
    .login-left {
        display: flex;
    }
}

.login-left-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
    padding-left: 27%;
}

.login-left h1 {
    font-family: 'ColourSans', sans-serif;
    font-weight: bold;
    font-size: 3rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
    color: #FFFFFF !important;
}

.login-left p {
    font-size: 1.6rem;
    opacity: 1;
    max-width: 450px;
    margin: 0;
    line-height: 1.2;
    color: #FFFFFF !important;
}

/* Right Column: White with grey waves starting from right */
.login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    background-image: url('../../images/bg-login.png');
    background-size: 200% 100%;
    background-position: right center;
    background-repeat: no-repeat;
    padding: 2rem;
}

.login-form-wrapper {
    width: 100%;
    max-width: 350px;
}

/* UI Components Essentials */

.ui-button {
    width: 100%;
    background: var(--primary-gradient);
    box-shadow: var(--button-shadow);
    color: white;
    font-family: 'ColourSans', sans-serif;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    padding: 18px 24px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.ui-button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 15px 35px rgba(46, 91, 255, 0.3);
}

.ui-input-group {
    margin-bottom: 1.5rem;
}

.ui-input-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #000000;
    font-size: 0.95rem;
}

.ui-input-container {
    background: var(--input-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.ui-input-container:focus-within {
    border-color: #2E5BFF;
    background: white;
}

.ui-input {
    background: transparent;
    border: none;
    flex: 1;
    padding: 16px 0;
    font-family: 'ColourSans', sans-serif;
    outline: none;
    color: #101828;
    font-size: 1rem;
}

/* Ensure no icons as per clean mockup */
.ui-input-icon {
    display: none !important;
}

.ui-error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
}

.has-error .ui-input-container {
    border-color: var(--error-color) !important;
}

/* Links Alignment */
.forgot-password-link {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 30px;
}

.forgot-password-link a {
    color: #667085;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: normal;
}

.register-link {
    text-align: center;
    margin-top: 25px;
}

.register-link a {
    color: #667085;
    text-decoration: underline;
    font-size: 0.95rem;
    font-weight: normal;
}

/* Hide legacy elements */
.auth-page-wrapper,
.auth-page-content,
.card,
.container,
.row,
.col-lg-12,
.col-lg-6 {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.bg-overlay,
footer {
    display: none !important;
}