/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Onest, sans-serif;
}

body {
    background-color: #f5f5f5;
}

.totalContainer {
    display: flex;
    background-color: white;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Right section styles */
.right-section {
    flex: 1;
    padding: 20px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 10px 32px 32px;
    background-color: white;
    border-radius: 12px;
}

.form-graphic {
    width: 250px;
    height: 250px;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 487px;
}

.form-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-title-small {
    font-size: 20px;
    color: #404040;
    text-align: center;
}

.form-title {
    font-size: 48px;
    font-weight: 600;
    color: #404040;
    text-align: center;
}

.form-description {
    font-size: 16px;
    text-align: center;
    color: #52525b;
}

.cta-button,
.login-button {
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    width: 320px;
    text-align: center;
}

.cta-button:hover {
    background-color: #1d4ed8;
}

.secondary-button {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    width: 320px;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    color: #52525b;
    background: white;
    cursor: pointer;
    font-size: 0.875rem;
    transition: border-color 0.2s, background-color 0.2s;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        height: auto;
    }

    .left-section {
        width: 100%;
        height: 400px;
    }

    .headline {
        margin-top: 10px;
        font-size: 48px;
        line-height: 64px;
    }

    .description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .progress-steps {
        display: none;
    }

    .form-container {
        padding: 32px 16px;
    }

    .form-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .left-section {
        height: 300px;
        padding: 20px;
    }

    .powered-by {
        display: none;
    }

    .headline {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 20px;
    }

    .description {
        font-size: 14px;
        line-height: 20px;
    }

    .form-title {
        font-size: 30px;
    }

    .form-description {
        font-size: 14px;
    }

    .cta-button {
        width: 100%;
    }
}

/* Small Tablets (max-width: 600px) and Phones */
@media (max-width: 600px) {
    .totalContainer {
        flex-direction: column;
        height: auto;
    }

    .right-section {
        order: 1;
        width: 100%;
        padding: 20px 16px;
        height: 100vh !important;
        flex: auto;
        margin-top: 30%;
    }

    .form-container {
        padding: 24px 16px;
        gap: 20px;
    }

    .form-title {
        font-size: 28px;
        line-height: 34px;
    }

    .form-title-small {
        font-size: 16px;
    }

    .form-description {
        font-size: 14px;
        line-height: 20px;
    }

    .cta-button,
    .secondary-button {
        width: 100%;
        padding: 12px 16px;
        font-size: 15px;
    }

    .form-graphic {
        width: 200px;
        height: 200px;
    }

    .form-graphic img {
        width: 200px;
        height: 200px;
    }
}

/* Regular Mobiles (max-width: 375px) */
@media (max-width: 375px) {
    .form-title {
        font-size: 24px;
    }

    .form-title-small {
        font-size: 14px;
    }

    .form-graphic {
        width: 180px;
        height: 180px;
    }

    .form-description {
        font-size: 13px;
    }
}

/* Small Mobiles (max-width: 320px) */
@media (max-width: 320px) {
    .form-title {
        font-size: 22px;
        line-height: 30px;
    }

    .form-title-small {
        font-size: 13px;
    }

    .form-description {
        font-size: 12px;
    }

    .form-graphic {
        width: 160px;
        height: 160px;
    }

    .cta-button,
    .secondary-button {
        font-size: 14px;
        padding: 10px 14px;
    }
}
