/* Login Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main Login Container - Frame 350 */
.login-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 68px;
    min-height: 100vh;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* Left Side Image - shutterstock_1831476562 1 */
.login-image {
    width: 650px;
    height: 687px;
    background: url("../newimg/loginimage.png") center/cover no-repeat;
    border-radius: 20px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Right Side Form Container - Frame 348 */
.login-form-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 609px;
    height: auto;
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* Header and Form Section - Frame 347 */
.login-header-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 100%;
    height: auto;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Header Section - Frame 30 */
.login-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    gap: 10px;
    width: 100%;
    max-width: 434px;
    height: auto;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Main Title */
.login-title {
    width: 100%;
    max-width: 434px;
    height: auto;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    color: #292929;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin-bottom: 10px;
}

/* Subtitle Container - Frame 63 */
.login-subtitle-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 10px;
    width: auto;
    height: auto;
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* Subtitle Text */
.login-subtitle {
    width: auto;
    height: auto;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 23px;
    line-height: 120%;
    color: #292929;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Sign Up Link */
.signup-link {
    width: auto;
    height: auto;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 23px;
    line-height: 120%;
    color: #ff4c4b;
    text-decoration: none;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.signup-link:hover {
    text-decoration: underline;
    color: #e04342;
}

/* Form Fields Container - Frame 346 */
.login-form-fields {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 15px;
    width: 100%;
    height: auto;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Input Field Styles - Frame 44 & 45 */
.input-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 28px 10px 20px;
    gap: 10px;
    width: 100%;
    background: #e9e9e9;
    border: none;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #828282;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
}

.input-field:focus {
    outline: none;
    background: #f0f0f0;
    color: #292929;
}

.input-field::placeholder {
    color: #828282;
}

/* Email Field */
.email-field {
    height: 64px;
    order: 0;
}

/* Password Field */
.password-field {
    height: 68px;
    order: 1;
}

/* Actions Container - Frame 59 */
.login-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    gap: 23px;
    width: 100%;
    height: auto;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Sign In Button - Frame 8 */
.signin-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
    width: 100%;
    height: 79px;
    background: #ff4c4b;
    border: none;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 23px;
    line-height: 120%;
    color: #ffffff;
    cursor: pointer;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    transition: background-color 0.3s ease;
}

.signin-button:hover {
    background: #292929;
}

.signin-button:active {
    background: #292929;
}

/* Forgot Password Container - Frame 996 */
.forgot-password-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    margin: 0 auto;
    width: auto;
    height: auto;
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* Forgot Password Text */
.forgot-password-text,
.forgot-password-link {
    height: auto;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 120%;
    text-align: center;
    color: #828282;
    flex: none;
    flex-grow: 0;
}

.forgot-password-text {
    width: auto;
    order: 0;
}

.forgot-password-link {
    width: auto;
    order: 1;
    text-decoration: none;
    cursor: pointer;
}

.forgot-password-link:hover {
    color: #ff4c4b;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .login-container {
        max-width: 1200px;
        gap: 40px;
        padding: 30px 20px;
    }

    .login-image {
        width: 500px;
        height: 600px;
    }

    .login-form-container {
        width: 500px;
    }
}

@media (max-width: 1200px) {
    .login-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
        min-height: 100vh;
    }

    .login-image {
        width: 100%;
        max-width: 600px;
        height: 400px;
        order: 1;
    }

    .login-form-container {
        width: 100%;
        max-width: 600px;
        order: 0;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .login-container {
        gap: 20px;
        padding: 15px;
    }

    .login-title {
        font-size: 32px;
    }

    .login-subtitle,
    .signup-link {
        font-size: 18px;
    }

    .signin-button {
        height: 60px;
        font-size: 20px;
    }

    .input-field {
        height: 55px;
        font-size: 15px;
        padding: 10px 20px;
    }

    .forgot-password-text,
    .forgot-password-link {
        font-size: 16px;
    }

    .login-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: 10px;
    }

    .login-title {
        font-size: 28px;
        text-align: center;
    }

    .login-subtitle,
    .signup-link {
        font-size: 16px;
    }

    .login-subtitle-container {
        width: 100%;
        justify-content: center;
    }

    .signin-button {
        height: 55px;
        font-size: 18px;
    }

    .input-field {
        height: 50px;
        font-size: 14px;
    }

    .login-image {
        height: 250px;
    }
}

/* Success Alert Message */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    width: 100%;
}
