@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #1a73e8;
    /* Google Blue-ish */
    --primary-hover: #1557b0;
    --text-color: #333;
    --muted-color: #6c757d;
    --input-bg: #f8f9fa;
    --input-border: #dee2e6;
    --bg-dark: #000;
    /* Fallback for right side */
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    /* Prevent scroll on desktop if possible */
}

.login-container {
    height: 100%;
}

/* Left Side */
.login-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 1rem;
    height: 100%;
    background-color: white;
}

.login-left-inner {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.brand-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.brand-icon {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    /* Rounded corners for the icon box */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 1.5rem;
}

.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: #000;
}

.header-section {
    margin-bottom: 2rem;
}

.login-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
    font-size: 2rem;
    line-height: 1.2;
}

.login-subtitle {
    color: var(--muted-color);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Form Wrapper */
.form-wrapper {
    margin-top: 0.5rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.input-group-text {
    background-color: transparent;
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: #adb5bd;
}

.form-control {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-right: none;
    /* Icon handles the right border visual if grouped differently, but here we put icon on right */
    border-radius: 8px 0 0 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    height: 48px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: #fff;
}

.form-control:focus+.input-group-text {
    border-color: var(--primary-color);
}

/* Fix for icons on the right */
.input-with-icon .form-control {
    border-radius: 6px;
    background-color: #f8fbff;
    /* Very subtle blueish tint from screenshot */
    border: 1px solid #e2e8f0;
}

.input-position-wrapper {
    position: relative;
}

.input-position-wrapper .form-control {
    padding-right: 48px;
    /* Space for icon */
    background-color: #F3F6F9;
    border: 1px solid #E1E1E1;
    color: #495057;
    height: 48px;
    font-size: 1rem;
}

.input-position-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa5b1;
}

.btn-primary {
    background-color: #1877F2;
    /* Bright blue match */
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    width: 100%;
    margin-top: 0;
    transition: background-color 0.2s;
    font-size: 1rem;
    height: 48px;
}

.btn-primary:hover {
    background-color: #1465d1;
}

/* Form Options Row */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-top: 0;
    margin-right: 0.5rem;
}

.form-check-label {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 0;
}

.forgot-password {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1877F2;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Form Submit */
.form-submit {
    margin-top: 0;
}

.contact-support {
    margin-top: 0;
    font-size: 0.875rem;
    text-align: center;
    color: #6c757d;
}

.contact-support a {
    color: #1877F2;
    text-decoration: none;
    font-weight: 600;
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.75rem;
    color: #aaa;
    border-top: 1px solid #E5E7EB;
    text-align: center;
}

/* Right Side */
.login-right {
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    /* Align content to bottom */
    padding: 4rem;
}

.login-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay to make text readable and match mood */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.testimonial-card {
    position: relative;
    /* Above overlay */
    color: white;
    z-index: 2;
    max-width: 600px;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 300;
}

.testimonial-author {
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.testimonial-author::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 2px;
    background-color: white;
    margin-right: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .login-right {
        display: none;
        /* Hide image on small screens */
    }

    .login-left {
        padding: 2rem;
        height: auto;
        min-height: 100vh;
    }

    body {
        overflow: auto;
    }
}