﻿/* General Body and Font Styles */
body {
    font-family: "Inter", sans-serif;
    background-color: #f3f4f6;
    margin: 0;
}

/* Main container for centering the form */
.main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    min-height: 100vh;
    box-sizing: border-box;
}

.formbold-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.formbold-form-wrapper {
    margin: 0 auto;
    max-width: 550px;
    width: 100%;
    background: white;
}

.formbold-steps {
    padding-bottom: 18px;
    margin-bottom: 35px;
    border-bottom: 1px solid #DDE3EC;
}

    .formbold-steps ul {
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        gap: 40px;
    }

    .formbold-steps li {
        display: flex;
        align-items: center;
        gap: 14px;
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        color: #536387;
    }

        .formbold-steps li span {
            display: flex;
            align-items: center;
            justify-content: center;
            background: #DDE3EC;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
            color: #536387;
        }

        .formbold-steps li.active {
            color: #07074D;
            ;
        }

            .formbold-steps li.active span {
                background: #6A64F1;
                color: #FFFFFF;
            }

.formbold-input-flex {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
}

    .formbold-input-flex > div {
        width: 50%;
    }

.formbold-form-input {
    width: 100%;
    padding: 13px 22px;
    border-radius: 5px;
    border: 1px solid #DDE3EC;
    background: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    color: #536387;
    outline: none;
    resize: none;
}

    .formbold-form-input:focus {
        border-color: #6a64f1;
        box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
    }

.formbold-form-label {
    color: #07074D;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    display: block;
    margin-bottom: 10px;
}

.formbold-form-confirm {
    border-bottom: 1px solid #DDE3EC;
    padding-bottom: 35px;
}

    .formbold-form-confirm p {
        font-size: 16px;
        line-height: 24px;
        color: #536387;
        margin-bottom: 22px;
        width: 75%;
    }

    .formbold-form-confirm > div {
        display: flex;
        gap: 15px;
    }


/* Form wrapper/card */
.form-wrapper {
    width: 100%;
    max-width: 42rem; /* max-w-2xl */
    border-radius: 0.5rem; /* rounded-lg */
    background-color: white;
    padding: 2.5rem; /* p-10 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Top image styling */
.form-image {
    margin-bottom: 3rem; /* mb-12 */
    width: 100%;
    border-radius: 0.5rem;
}

/* Header section for title and description */
.form-header {
    margin-bottom: 2rem; /* mb-8 */
    text-align: center;
}

.form-title {
    font-size: 1.875rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    color: #1f2937; /* text-gray-800 */
}

.form-description {
    margin-top: 0.5rem; /* mt-2 */
    font-size: 0.875rem; /* text-sm */
    color: #4b5563; /* text-gray-600 */
    line-height: 1.5;
}

/* Container for each form field group */
.form-group {
    margin-bottom: 1.5rem; /* mb-6 */
}

/* Form labels */
.form-label {
    display: block;
    margin-bottom: 0.5rem; /* mb-2 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    color: #4b5563; /* text-gray-600 */
}

/* Common styles for input, select, and textarea */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border-radius: 0.375rem; /* rounded-md */
    border: 1px solid #d1d5db; /* border-gray-300 */
    padding: 0.75rem; /* p-3 */
    font-size: 0.875rem; /* text-sm */
    color: #1f2937; /* text-gray-800 */
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        border-color: #6366f1; /* focus:border-indigo-500 */
        box-shadow: 0 0 0 1px #6366f1; /* focus:ring-1 focus:ring-indigo-500 */
        outline: none;
    }

/* Checkbox list styling */
.options-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-item {
    display: flex;
    align-items: center;
}

.form-checkbox {
    height: 1rem;
    width: 1rem;
    color: #4f46e5;
    margin-right: 0.5rem;
}

/* Consent Checkbox Group */
.consent-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.consent-label {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    border-radius: 0.375rem;
    background-color: #4f46e5;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

    .submit-btn:hover {
        background-color: #4338ca;
    }

    .submit-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
    }

/* Mobile Responsive Styles */
@media (max-width: 640px) {
    .main-container {
        padding: 1rem;
    }

    .form-wrapper {
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }
}