@import url('./../font/fontiran.css');
@import url('./components/header.css');


.checkmark.error{border: 2px solid red!important;}
:root {
    --theme-yellow: #F5D009;
    --theme-border-gray: #8E8E8E;
    --badge-red: #FF5A5A;
    --background-btn: #F8F8F8;
    --light-gray: #D9D9D9;
    --vector-color: #373435;
    --btn-red: #E11F1F;
    --home-background-color: #F5F5F5;
}

.body-container {
    max-width: 1166px;
    margin: 0 auto;
    height: calc(100vh - 86px);

}

.container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.sidebar {

    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: var(--theme-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px 0 rgba(107, 107, 107, .25);
    cursor: pointer;
    transition: all .3s ease;
}

.sidebar:hover {
    scale: 1.1;
}

.home-icon {
    height: 20px;
}

.form-container {
    width: 50%;
    margin-right: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.form-box {
    background-color: var(--theme-yellow);
    border-radius: 20px;
    padding: 33px 41px 29px 41px;
    width: 469px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    text-align: center;
    margin-bottom: 15px;
}

.form-header img {

    margin-bottom: 7px;
}

.form-header h2 {
    font-size: 25px;
    color: var(--vector-color);
    font-weight: bold;

}

.input-group {
    position: relative;
    margin-bottom: 12px;
}

.input-group input {
    width: 100%;
    padding: 0 12px;
    height: 31px;
    line-height: 31px;
    text-align: right;
    color: var(--vector-color);
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}


.input-field:focus {
    border-color: var(--theme-yellow);
    outline: none;
}


/* Error Styling */
.input-group input.error {
    border: 1px solid red;
}



.error-message.active {
    display: block;
}

.input-group label {
    display: flex;
    font-size: 14px;
    align-items: center;
    color: var(--vector-color);
}

.input-group label img {

    margin-left: 4px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

/* Custom Checkbox Styling */
.custom-checkbox {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: var(--vector-color);
    cursor: pointer;
    position: relative;
    justify-content: flex-start;

}

.custom-checkbox input {
    position: relative;
    opacity: 0;
    cursor: pointer;
    display: none;
}

.custom-checkbox .checkmark {
    position: relative;
    height: 20px;
    width: 21px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 4px;
    /* Rounded corners */
    transition: all 0.3s ease;
    margin-left: 4px;
}

.custom-checkbox input:checked~.checkmark {
    background-color: white;

}

.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark::after {
    display: block;
}

.submit-btn {
    width: 100%;
    background-color: var(--vector-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    height: 35px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all .3s ease;
}

.submit-btn:hover {
    scale: 1.05;
}

.footer-note {
    text-align: center;
    font-size: 15px;
    color: var(--vector-color);
    display: flex;
    justify-content: center;

}

.footer-note button {
    color: white;
    margin: 0 4px;
    font-weight: bold;
    cursor: pointer;
}

.illustration-container {
    position: absolute;
    top: 48px;
    display:flex;
    flex-direction: column;
    gap: 15px;
}

.illustration {
    width: 357px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 17px 20px;
    border-radius: 6px;
    border: 1px dashed var(--light-gray);
    background-color: var(--background-btn);

}

.notification {
    margin-top: 8px;
    color: var(--vector-color);
    font-size: 14px;
    width: 100%;
    font-weight: bold;
    text-align: right;
}

.illustration .illustration-title {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: bolder;
    color: var(--vector-color);
}

.illustration-title img {
    width: 15px;
    height: 15px;
    margin-left: 4px;
}

.illustration.danger{
    border-color: red;
}

.illustration.danger .illustration-title{
    color: red;
}

.logo-container {
    display: flex;
    height: 58px;
    align-items: center;
    gap: 3px;
}

.logo-container img:first-child {
    width: 54px;
}

header {
    width: 100%;
    position: relative;
    height: 86px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 44px;
}


.background-container {
    width: 828px;
    height: 552px;
    position: absolute;
    top: 26px;
    left: 40%;
    z-index: -3;
}

.background-container img {
    width: 100%;
    height: 100%;
}

/* Registration Form */
.otp-group {
    display: flex;
    justify-content: space-between;
    margin: 30px auto;
    max-width: 327px;
    flex-direction: row-reverse;
    width: 100%;
}

.otp-group.error {
    margin-bottom: 15px;
}

.otp-group.error input {
    border: 1px solid red;

}

.otp-input {
    width: 52px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-size: 25px;
    color: var(--vector-color);
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.otp-input::placeholder {
    color: var(--vector-color);
}

.otp-input:focus {
    border: 1px solid black;
    outline: none;
}

#otp-step p {
    font-size: 17px;
    line-height: 25px;
    color: var(--vector-color);
    text-align: center;
}

#otp-step .form-header img {
    margin-bottom: -5px;
}

#otp-step .form-box {
    padding: 70px 40px 61px 40px;
}

.otp-timer {
    font-size: 15px;
    text-align: center;
    margin-bottom: 19px;
}

#time {
    color: white;
    font-weight: bold;
    font-size: 15px;
    margin-left: 5px;
}


.error-message {
    font-size: 13px !important;
    line-height: 20px !important;
    color: red !important;
    margin-top: 4px;
    display: none;
    /* Hidden by default */
}

#otp-step .error-message {
    margin-bottom: 12px;
}

@media only screen and (min-width: 600px) and (max-width: 1024px) {
    .container{
        flex-direction: column;
    }

    .form-container{
        width: 100%;
        margin-top: 230px;
    }

    .illustration-container{
        top: 0;
        right: 50px;
    }

    .background-container{
        top: 55%;
        left: 47%;
        transform: translateX(-50%);
    }
}

@media (min-width: 600px) {
    .desktop-must-gone{display: none;}
}
@media (max-width: 600px) {
    header{padding: 0px;}
    .mobile-must-gone{display: none!important;;}
    .form-container{width: 100%;display: unset;}
    .illustration-container{
        position: unset;}
    .form-box{width: unset;}
}
