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

body {
    font-family: "Montserrat", sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    transition:
        background-color 0.2s,
        color 0.2s;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
    .image-side {
        display: none;
    }
}

/* Left Section - Image Side */
.image-side {
    position: relative;
    overflow: hidden;
    /* background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) -14.12%,
      rgba(0, 0, 0, 0.6) 41.25%
    ); */
}

.image-side > img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) -14.12%,
      rgba(0, 0, 0, 0.6) 41.25%
    ); */

    z-index: 1;
}

.image-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 36px;
    padding-right: 64px;
    padding-bottom: 48px;
    padding-left: 64px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-wrapper img {
    width: 190px;
    height: 69px;
    object-fit: contain;
}

.welcome-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
    margin-bottom: 80px;
}

.welcome-heading {
    font-family: "Montserrat", sans-serif;
    font-weight: 505;
    font-size: 60px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #e7e7e7;
    margin-bottom: 32px;
    white-space: normal;
}

.welcome-description {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 0;
    color: #f8f8f8;
    margin-bottom: 40px;
    max-width: 46rem;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 24px;
}

.avatar-group {
    display: flex;
    gap: 0;
    margin: 0;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    margin-left: -16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.avatar:first-child {
    margin-left: 0;
}

.trust-info {
    display: flex;
    flex-direction: column;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 2px;
}

.star {
    color: #fbbf24;
    font-size: 20px;
}

.trust-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.bottom-spacer {
    flex: 0;
}

/* Right Section - Login Form */
.form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 32px;
    padding-right: 64px;
    padding-bottom: 32px;
    padding-left: 64px;
    background: white;
}

.login-container {
    width: 100%;
    max-width: 448px;
}

.login-header {
    margin-bottom: 40px;
}

.login-title {
    font-size: 30px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 400;
}

.form-group {
    margin-bottom: 16px;
}

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

.input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 16px;
    display: flex;
    align-items: center;
    pointer-events: none;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    padding-left: 40px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    transition: all 0.2s;
}

input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: #94a3b8;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #e66a00;
    background: white;
    ring: 2px solid #e66a00;
    box-shadow: 0 0 0 3px rgba(230, 106, 0, 0.1);
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 16px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #64748b;
}

.forgot-password-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.forgot-password {
    color: #e66a00;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.forgot-password:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 14px 16px;
    background: #e76a05;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
    line-height: 100%;
    letter-spacing: 0;
}

.login-button:hover {
    background: #cc5f04;
}

.login-button i {
    font-size: 16px;
}

.divider-wrapper {
    position: relative;
    margin: 32px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.divider-text {
    color: #94a3b8;
    font-size: 14px;
}

.google-button {
    text-decoration: none;
    width: 100%;
    padding: 12px 16px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #334155;
    transition: all 0.2s;
}

.google-button:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.google-button svg {
    width: 20px;
    height: 20px;
}

.signup-section {
    text-align: center;
    margin-top: 32px;
    font-size: 15px;
    color: #475569;
}

.signup-link {
    color: #e66a00;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s;
}

.signup-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Phosphor Icon Styling */
[class^="ph-"],
[class*=" ph-"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.error-msg {
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 16px;
    color: #e22f2f;
    font-size: 13px;
    font-weight: 500;
    width: 100%;
}

@media (max-width: 1024px) {
    .image-content {
        padding-top: 36px;
        padding-right: 48px;
        padding-bottom: 32px;
        padding-left: 48px;
    }
    .form-side {
        padding-top: 32px;
        padding-right: 48px;
        padding-bottom: 32px;
        padding-left: 48px;
    }
}

.mobile-logo {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 35px;
        left: 26%;
        z-index: 100;
        padding: 16px;
        background: white;
    }
    .mobile-logo img {
        width: 140px;
        height: auto;
        object-fit: contain;
    }
    .form-side {
        padding-top: 90px;
    }
}

@media (max-width: 768px) {
    .form-side {
        padding-top: 24px;
        padding-right: 16px;
        padding-bottom: 24px;
        padding-left: 16px;
    }
    .login-container {
        max-width: 100%;
        padding-top: 20px;
    }
    .welcome-heading {
        font-size: 36px;
    }
    .welcome-description {
        font-size: 16px;
    }
}
