body {
    margin: 0px;
}

.forgot-password-container {
    background-color: #fff;
    display: flex;
    overflow: hidden;
    justify-content: start;
    flex-wrap: wrap;
    height: 100vh;
}


.main-content {
    background-color: #fff;
    display: flex;
    min-width: 240px;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
    justify-content: start;
    flex: 1;
    flex-basis: 0%;
    padding: 48px 24px;
    padding-bottom: 20px !important;
}

/* Ensure it stacks vertically on smaller screens */
@media (max-width: 991px) {
    .forgot-password-container {
        flex-direction: column;
        /* Change layout to vertical */
        height: auto;
        /* Allow it to grow */
        overflow: auto;

    }

    .sidebar {
        width: 100%;
        /* Make sidebar take full width */
        height: auto;
        /* Allow content to determine height */
        min-height: 200px;
        /* Adjust based on content */
        overflow: hidden;
    }

    .main-content {
       width: 100%;
    flex: unset;
    height: auto;
    padding: 0px;
    min-width: 100%;
    }
}

.logo-container {
    display: flex;
    width: 227px;
    max-width: 100%;
    gap: 13px;
    padding: 9px 10px;
}

.logo-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 52px;
    alt: "Company logo icon";
}

.logo-text {
    aspect-ratio: 3.02;
    object-fit: contain;
    object-position: center;
    width: 142px;
    max-width: 100%;
    margin: auto 0;
    alt: "Company logo text";
}

.form-container {
    display: flex;
    min-width: 420px;
    margin-top: -1px;
    width: 510px;
    max-width: 510px;
    flex-direction: column;
    font-family: Onest, sans-serif;
}

.form-header {
    display: flex;
    width: 100%;
    flex-direction: column;
    text-align: center;
    margin-top: 10%;
}

.welcome-title {
    color: #000;
    font-size: 32px;
    font-weight: 600;
}

.welcome-description {
    color: var(--Gray-700, #495057);
    font-size: 16px;
    font-weight: 400;
    /* margin-top: 13px; */
    margin-top: 0px;
}

.forgot-form {
    display: flex;
    /* margin-top: 46px; */
    margin-top: 15px;
    width: 100%;
    flex-direction: column;
}

.form-group {
    display: flex;
    width: 100%;
    flex-direction: column;
    /* margin-bottom: 25px; */
    margin-bottom: 10px;
}

.form-label {
    color: var(--Gray-800, #343a40);
    font-size: 16px;
    font-weight: 400;
}

.form-input {
    border-radius: 8px;
    border: 1px solid var(--gray-300, #d1d5db);
    background: var(--Universal-White, #fff);
    padding: 14px 16px;
    margin-top: 8px;
    /* width: 100%; */
    font-size: 14px;
    /* color: var(--gray-500, #6b7280); */
}

.password-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-toggle {
    aspect-ratio: 1;
    width: 16px;
    alt: "Toggle password visibility";
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.remember-text {
    color: var(--Gray-800, #343a40);
    font: 400 16px Onest, sans-serif;
}

.forgot-password {
    color: #2240cd;
    font: 500 16px Onest, sans-serif;
    text-decoration: none;
}


.form-actions {
    display: flex;
    /* margin-top: 42px; */
    margin-top: 5px;
    width: 100%;
    flex-direction: column;
}

.forgot-button {
    border-radius: 8px;
    background: var(--Primary-700, #2240cd);
    color: #fff;
    padding: 14px 24px;
    width: 100%;
    text-align: center;
    font-weight: 400;
    border: none;
    cursor: pointer;
}

.google-forgot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin-top: 17px;
    padding: 12px 24px;
    border: 1px solid rgba(194, 196, 199, 1);
    border-radius: 6px;
    color: var(--Gray-800, #343a40);
    cursor: pointer;
}

.google-icon {
    width: 24px;
    alt: "Google logo";
}

.forgot-prompt {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-top: 15px;
}

.forgot-text {
    color: var(--Gray-800, #343a40);
    font-weight: 300;
}

.forgot-link {
    color: var(--Primary-700, #2240cd);
    font-weight: 500;
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 991px) {
    .sidebar {
        display: none;
        max-width: 100%;
        padding-bottom: 100px;
    }

    .hero-content {
        margin-top: 40px;
    }

    .progress-indicators {
        margin-top: 40px;
    }

    .main-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .form-container {
        max-width: 100%;
        margin-top: 40px;
        padding: 24px;
        min-width: 100%;
    }

    .welcome-title,
    .welcome-description,
    .form-group,
    .form-actions {
        max-width: 100%;
    }

    .forgot-button,
    .google-forgot {
        padding: 14px 20px;
    }
}

input:focus {
    outline: none;
}