
.user-form .logo {
    width: 200px;
    margin: auto;
}

.user-form .title-header {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.user-form-body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    font-size: 12pt;
    width: 100vw;
    
}

#form-container {
    margin:auto;
    max-width: 600px;
    width: 100vw;
    background-color: #ffffff;
    padding: 40px 50px;
    border-radius: 24px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.user-form h2 {
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
    color: #237f75;
}

.user-form h3 {
    margin-bottom: 15px;
    text-align: center;
    font-weight: 400;
    color: #237f75;
}

/* Form fields */
.user-form .form-step {
    display: none;
}

.user-form .form-step.active {
    display: block;
}

.user-form .form-field {
    margin-bottom: 25px;
}

.user-form .form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
}

.user-form .form-field input[type="text"],
.user-form .form-field input[type="date"],
.user-form .form-field select,
.user-form .form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 14px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.user-form .form-field input[type="text"]:focus,
.user-form .form-field input[type="date"]:focus,
.user-form .form-field select:focus,
.user-form .form-field textarea:focus {
    border-color: #4c8bf5;
}

/* Buttons */
.user-form .button-container {
    text-align: center;
    margin-top: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.user-form .button-container button, 
.user-form .generic-button, 
.user-form .selector-button {
    background-color: #34ccc3;
    color: #ffffff;
    padding: 14px 25px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.user-form .button-container button:hover {
    background-color: #25928b;
}

.user-form .button-container button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.user-form button {
    margin-left: 0;
}

/* Signature pad */
#signature-pad {
    border: 2px dashed #ccc;
    border-radius: 14px;
    cursor: crosshair;
    width: 100%;
    height: 200px;
}

.signature-pad-view {
    border: 2px dashed #ccc;
    border-radius: 14px;
    /*width: 100%;*/
    height: 200px;
}

/* Responsive design */
@media (max-width: 600px) {
    
#form-container {
    border-radius: 0;
    box-shadow: none;
    padding: 20px 25px;
}
    .user-form  .form-field .checkbox-group div,
    .user-form  .form-field .radio-group div {
        width: 100%;
    }

    .user-form  .button-container button {
        width: 100%;
        margin-bottom: 15px;
    }
}


/* Responsive design */
@media (min-width: 600px) {
    
    .user-form-body {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
    }
    }
    

.user-form .reset-button {
    background-color: rgb(255, 103, 116);
    color: #ffffff;
    padding: 15px 20px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    margin-top: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.user-form .radio-buttons-container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.user-form .radio-button {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.user-form .radio-button__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.user-form .radio-button__label {
    display: inline-block;
    padding-left: 30px;
    margin-bottom: 10px;
    position: relative;
    font-size: 16px;
    color: #3b3b3b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.user-form .radio-button__custom {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #555;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.user-form .radio-button__input:checked+.radio-button__label .radio-button__custom {
    transform: translateY(-50%) scale(0.9);
    border: 5px solid #34ccc3;
    color: #54c7b6;
}

.user-form .radio-button__input:checked+.radio-button__label {
    color: #34ccc3;
}

.user-form .radio-button__label:hover .radio-button__custom {
    transform: translateY(-50%) scale(1.2);
    border-color: #34ccc3;
}

/* Hide the default checkbox */
.user-form .checkbox-container input {
    display: none;
}

.user-form .checkbox-container {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Create a custom checkbox */
.user-form .checkbox-checkmark {
    position: relative;
    top: 0;
    left: 0;
    height: 1.3em;
    width: 1.3em;
    background-color: #2196f300;
    border-radius: 10px;
    transition: all 0.25s;
}

/* When the checkbox is checked, add a blue background */
.user-form .checkbox-container input:checked~.checkbox-checkmark {
    background-color: #34ccc3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.user-form .checkbox-checkmark:after {
    content: "";
    position: absolute;
    transform: rotate(0deg);
    border: 0.1em solid black;
    left: 0;
    top: 0;
    width: 1.05em;
    height: 1.05em;
    border-radius: 10px;
    transition:
        all 0.25s,
        border-width 0.1s;
    border-color: #54c7b6;
    box-sizing: content-box !important;
}

/* Show the checkmark when checked */
.user-form .checkbox-container input:checked~.checkbox-checkmark:after {
    left: 0.45em;
    top: 0.25em;
    width: 0.25em;
    height: 0.5em;
    border-color: #fff0 white white #fff0;
    border-width: 0 0.15em 0.15em 0;
    border-radius: 0em;
    transform: rotate(45deg);
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px 40px;
    z-index: 1000;
    border-radius: 8px;
    max-width: 100vw;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.user-form .popup-container {
    text-align:center;
}

.user-form .popup-close-button {
    background-color: rgb(68, 216, 93);
    box-sizing: border-box;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}

.user-form .popup-close-button:hover {
    background-color: #35b64a;
}

.user-form .selector-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}

.user-form .selector-button {
    margin: 0;
    background-color: transparent;
    color:#333;
    font-size: 10pt;
    border: 1px solid #ccc;
}

.user-form .selector-button.selected {
    background-color: #71d7ce;
    color:white;
    border: none;
}