:root {
    --primary-color: rgb(11, 78, 179);
}

/* Reset box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: Montserrat, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

/* Global Stylings */
label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
}

input,
textarea {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}
.form-input {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    width: 10px;
}
textarea {
    resize: vertical;
}

/* Phone Input Wrapper */
.iti {
    width: 100%;
}

.iti__flag-container {
    padding: 0.5rem;
}

.iti__selected-flag {
    height: 100%;
}

input.iti__input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

/* Progress bar */
.progressbar {
    position: relative;
    width: 70%;
    max-width: 500px;
    height: 7px;
    background-color: #dcdcdc;
    border-radius: 40px;
    margin: 1rem auto;
}

.progress {
    height: 100%;
    background-color: #2ec6e2;
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s;
}

/* Form */

.form {
    width: 100%;
    height: 612px;
    max-width: 405px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Heading */
#form-heading {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.80rem;
}

/* Form steps */
.form-step {
    display: none;
    transform-origin: top;
    animation: animate 0.5s;
}

.form-step-active {
    display: block;
    padding-bottom: 1rem;
    padding-top: 0px;
}
.input-group {
    margin: 0.75rem 0;
}

.btns-group {
    margin-top: 2px;
    display: flex;
    justify-content: flex-end;
}

.btn {
    padding: 0.5rem;
    display: block;
    text-decoration: none;
    background-color: var(--primary-color);
    color: #f3f3f3;
    text-align: center;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.75rem;
}

.btn:hover {
    box-shadow: 0 0 0 2px #fff, 0 0 0 2px var(--primary-color);
}

/* Modal container */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal content */
.modal-content {
    background-color: #fefefe;
    margin: 1% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 900px;
    overflow-x: auto;
    border-radius: 50px;
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Table layout for business hours */
.hours-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.hours-row {
    display: table-row;
}

.hours-cell {
    display: table-cell;
    padding: 5px;
    border: 1px solid #ddd;
    text-align: center;
}

.header {
    font-weight: bold;
    background-color: #f4f4f4;
}

/* Input field styling */
.hours-input {
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    font-size: 14px;
}

.btns-group {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}
#checkboxes i {
    margin-right: 8px; /* Space between icon and text */
    font-size: 16px;   /* Adjust icon size */
}

.btn {
    background-color: #2ec6e2;
    border: none;
    color: white;
    padding: 10px 87px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 17px 58px;
    cursor: pointer;
    font-weight: 700;
}

.btn-prev {
    background-color: #6c757d;
}

.btn-next {
    margin-left: auto;
    background-color: #2ec6e2;
}

.btn:hover {
    opacity: 0.8;
}

.card-icons {
    display: flex;
    margin-top: 10px;
}

.card-icon {
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.card-icon:hover {
    background-color: #2ec6e2;
}

.invalid-field {
    border: 1px solid red;
}

.error-message {
    color: red;
    font-size: 0.875em;
    margin-top: 0.25em;
}

/* Checkbox container */
#checkboxes {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: -14px;
}

/* Checkbox labels */
#checkboxes label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem; /* Smaller text size */
    width: calc(50% - 10px); /* Adjust width to fit within the form */
    box-sizing: border-box;
    padding: 4px 8px; /* Adjust padding */
    border-radius: 6px;
    background-color: #fff;
    border: 1px solid #ccc;
}

/* Checkbox icons */
#checkboxes i {
    font-size: 14px; /* Adjust icon size */
    margin-right: 6px; /* Space between icon and text */
}
.image-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 33px;
    padding: 50px;
    background-color: #f9f9f9;
    overflow: hidden;
}
.icon {
    font-size: 24px;
    z-index: 1; /* Ensure icon is above the image initially */
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: none; /* Hide initially */
    border-radius: 8px;
    border: 1px solid #ddd;
    z-index: 0; /* Image is shown below the icon initially */
}


.input-group label {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 15px;
}

.input-group label i {
    font-size: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.error-message {
    position: absolute;
    right: 0;
    top: 105%;
    transform: translateY(-50%);
    color: red;
    font-size: 0.875rem;
    margin-left: 10px;
}

.error {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: red;
    font-size: 0.875rem;
    margin-left: 10px;
}
.btn-submit-confirm {
    background-color: #2ec6e2;
    border: none;
    color: white;
    padding: 11px 89px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 17px;
    margin: 72px 69px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: 600;
}
.terms-conditions {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #333;
    text-align: center;
    margin-top: -17px;
}
.terms-conditions a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 5px;
}

.terms-conditions a:hover {
    text-decoration: underline;
}


/* Add this CSS to position the icon */
.icon-left-top {
    position: inherit;
    top: -96px;
    left: -2px;
    font-size: 16px;
    color: #000;
}
.form-step {
    position: relative; /* Ensure that the icon positioning is relative to the form-step container */
}
.input-groupf label {
    display: flex;
    align-items: center;
    gap: 43px;
    font-size: 15px;
    margin-top: 21px;
}
.input-groupf label i {
    font-size: 20px;
}

.input-groupf {
    position: relative;
    margin-bottom: 15px;
    padding-left: 37px;
}



.verification-image {
    text-align: center;
    margin-bottom: 20px; /* Adjust as needed */
}

.verification-image img {
    max-width: 57%;
    height: auto;
}
.resend-link {
    text-align: center;
    margin: 15px 0; /* Adjust as needed */
}

.resend-link a {
    color: #007bff; /* Link color */
    text-decoration: none;
    font-size: 14px;
}

.resend-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form {
        width: 90%;
    }

    .btns-group {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
    font-size: 1rem;
}

    .modal-content {
        width: 95%;
        padding: 15px;
    }
    .input-groupf {
        margin-bottom: -34px;
        margin-right: 50px;

    }
    .btn-submit-confirm {
        background-color: #2ec6e2;
        border: none;
        color: white;
        padding: 11px 89px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 17px;
        margin: 72px 22px;
        cursor: pointer;
        border-radius: 3px;
        font-weight: 600;
    }

}

@media (max-width: 480px) {
    .hours-input {
        font-size: 12px;
    }

    .input-group {
        margin: 0.5rem 0;
    }
    .input-groupf {
        margin-bottom: -34px;
        padding-left: 33px;
    }
}

/* password eye buttons */
.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.input-container {
    position: relative;
    width: 100%;
}

input[type="password"] {
    width: 100%;
    padding: 0.5rem;
    padding-right: 2.5rem; /* Adjust padding to make space for the icon */
}

.eye-icon {
    position: absolute;
    right: 0.5rem; /* Space from the right edge */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1rem;
    color: #333;
}

.eye-icon i {
    margin-left: 0;
}

.error-message {
    color: red;
    font-size: 0.875rem;
    margin-top: 0.55rem;
}
