* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

/* Prevent horizontal scroll on auth pages */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

.nav_wrapper,
.navbar,
.container-navigation {
    /* max-width: 100% !important; */
    /*overflow-x: hidden;*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", sans-serif;
    font-weight: 200;
}

input,
button,
select,
textarea {
    font-family: "Inter", sans-serif;
}

.form-field {
    font-family: "Inter", sans-serif !important;
}

/* Mobile and tablet menu is now handled by Webflow's native navigation system */

@media screen and (max-width: 1200px) {
    /* Hamburger menu visible on both mobile AND tablet screen sizes */
    .navigation-middle {
        display: none;
    }

    /* Add margin to login/signup buttons in mobile menu */
    .nav_grid .button-secondary.w-button {
        margin: 8px 15px !important;
        width: calc(100% - 30px) !important;
    }

    .nav_grid .button-primary.w-button {
        margin: 8px 15px 15px 15px !important;
        width: calc(100% - 30px) !important;
    }
}

@media screen and (max-width: 991px) {
    .account-section > div {
        flex-direction: column;
    }

    .account-section > div > div:first-child {
        padding: 40px 20px;
    }

    .account-section > div > div:last-child {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        padding: 0 20px 40px;
    }
}

@media screen and (max-width: 479px) {
    .account-section {
        padding-top: 70px !important;
        min-height: auto !important;
        align-items: flex-start !important;
    }

    .account-section > div {
        padding: 0 !important;
    }

    /* Hide the hero/marketing left panel on phones — show form first */
    .account-section > div > div:first-child {
        display: none !important;
    }

    .account-section > div > div:last-child {
        padding: 16px 15px 30px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .account-section > div > div:last-child > div {
        border-radius: 8px !important;
        padding: 20px !important;
    }

    /* Specific mobile styling to match the image */
    .footer-section {
        margin-top: 20px;
    }

    .form-field-wrapper {
        margin-bottom: 15px !important;
    }

    input[type="submit"] {
        background-color: #134e79 !important;
    }

    .social-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        margin-bottom: 15px !important;
    }
}

/* Navigation button styles */
.nav-button-primary {
    background-color: #134e79;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.nav-button-secondary {
    border: 1px solid #134e79;
    color: #134e79;
    background-color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

/* Account section styles */
.account-section {
    position: relative;
    background-image: var(--account-bg-image);
    background-size: cover;
    background-position: center;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    padding: 70px 0 0 0;
}

.account-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.account-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    width: 100%;
}

.account-left {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.account-hero-title {
    font-family: Inter, sans-serif;
    font-size: 3.4rem;
    color: #edf7ff;
    margin-bottom: 20px;
    font-weight: 200;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.account-hero-text {
    font-size: 18px;
    line-height: 1.6;
    color: white;
    margin-bottom: 30px;
    max-width: 500px;
}

.account-signup-prompt {
    margin-top: 20px;
}

.account-signup-text {
    color: white;
    margin-bottom: 15px;
}

.account-signup-link {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
}

.account-form-container {
    width: 450px;
    padding: 60px 20px;
}

.account-form-wrapper {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.account-form-header {
    margin-bottom: 20px;
}

.account-form-title {
    font-family: Inter, sans-serif;
    font-size: 28px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.account-form-subtitle {
    color: #777;
    font-size: 16px;
    font-weight: 400;
    font-family: Inter, sans-serif;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 400;
}

.social-icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.form-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.form-divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: #ddd;
}

.form-divider-text {
    margin: 0 10px;
    color: #777;
    font-size: 14px;
}

.form-field-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-family: "Poppins", sans-serif;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    font-family: "Poppins", sans-serif;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}

.password-hint {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
}

.submit-button {
    background-color: #134e79;
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    letter-spacing: 0.2px;
    visibility: hidden;
}

.form-feedback {
    margin: 10px 0 5px !important;
    min-height: 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.form-error {
    width: 100% !important;
    color: #dc3545 !important;
    text-align: center !important;
}

.form-error-message {
    font-size: 14px !important;
    font-weight: 400 !important;
}

.form-success {
    width: 100% !important;
    color: #28a745 !important;
    text-align: center !important;
}

.form-success-message {
    font-size: 14px !important;
    font-weight: 400 !important;
}

.help-section {
    padding: 10px 0 5px;
    border-top: 1px solid #eee;
    text-align: center;
}

.help-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.help-text {
    color: #777;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

.forgot-password-link {
    color: #134e79;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    font-family: "Poppins", sans-serif;
}

.forgot-password-link:hover {
    color: #1a6ca8;
}

.google-signin-hidden {
    display: none;
}
