.ioc-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; }
.ioc-modal-content { background: #fff; margin: 10% auto; padding: 20px; width: 90%; max-width: 400px; border-radius: 8px; position: relative; }
.ioc-btn { padding: 10px 20px; background: #0073aa; color: white; border: none; border-radius: 5px; cursor: pointer; }
.close { position: absolute; right: 10px; top: 10px; cursor: pointer; font-size: 20px; }

/* ============= Button Start ================ */

.download-certificate-link .certificate-link {
    text-decoration: none;
    color: #16181D;
    font-size: 16px;
    font-weight: 600;
    background-color: #FCF069;
    padding: 12px 24px;
    border-radius: 8px;
}

/* ============= Button End ================ */


/* ============== Basic Info Start ============ */
.basic-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 120px;
}

.basic-info .info-section,
.basic-info .image-section {
    width: 45%;
}

.image-section img {
    /* height: 312px; */
    width: 100%;
    border-radius: 12px;
}

.info-section .basic-info-heading {
    color: #0B0C0E;
    font: normal normal 600 24px / 20px "Inter";
    margin-bottom: 36px;
}

.info-section .input-label {
    font-size: 16px;
    color: #16181D;
    font-weight: 600;
    margin-bottom: 12px;
}

.info-section .info-input {
    width: 100%;
    padding: 16px;
    border: 1px solid #C5CAD3;
    border-radius: 8px;
}

.custom-error{
    margin-top: 5px;
    margin-bottom: 32px;
    color: red;
    font-size: 14px;
}

.info-section .get-otp-btn {
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    background-color: #2E4757;
    width: 100%;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
}

/* ============== Basic Info End ============ */

/* ========== Otp Verification and failed Start =================  */

.modal-custom-width {
    max-width: 600px;
}

.modal-content {
    padding: 32px;
}

#otpfaildemodal .otp-header {
    display: flex;
    justify-content: end;
    margin-bottom: 0px;
}

.otp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-title {
    color: #0B0C0E;
    display: flex;
    font: normal normal 600 24px / 20px "Inter";
}

.custom-close-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    line-height: 1;
    cursor: pointer;
}

.otp-info {
    font-size: 18px;
    font-weight: 600;
    color: #0B0C0E;
    font: normal normal 600 18px / 20px "Inter";
}

.otp-inputs {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 25px 0px;
}

.otp-box {
    width: 100%;
    height: 52px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #C5CAD3;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

.otp-box:focus {
    border-color: #1a1a1a;
}

.otp-time {
    font-size: 16px;
    font-weight: 400;
    color: #16181D;
}

.otp-resend {
    font-size: 16px;
    font-weight: 600;
    color: #16181D;
    cursor: pointer;
    text-decoration: underline;
}

.otp-submit {
    margin-top: 32px;
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    background-color: #2E4757;
    border-radius: 8px;
    padding: 12px 24px;
    text-decoration: none;
}

.failed-verification-image img {
    text-align: center;
    width: 100%;
    height: 150px;
}

.failed-otp-desc {
    font-size: 24px;
    font-weight: 600;
    color: #0B0C0E;
    margin-bottom: 32px;
}

.otp-try-again {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    background-color: #2E4757;
    border-radius: 8px;
    padding: 12px 24px;
    text-decoration: none;
}

/* ========== Otp Verification and failed End =================  */


/* ================= Download Certificate Section Start =================== */


.ioc-certificate-wrapper {
    padding: 40px 0px;
}

.ioc-certificate-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #E4F5F4;
    padding: 24px;
    border-radius: 12px;
}

.ioc-certificate-info .section-title {
    font-size: 24px;
    line-height: 24px;
    font-weight: 800;
    color: #0B0C0E;
    margin-bottom: 12px;
}

.ioc-certificate-info .section-desc {
    font-size: 14px;
    font-weight: 500;
    color: #8C94A6;
    /* width: 115%; */
}
.ioc-certificate-info-img-wrapper {
    height: 100%;
    width: 15%;
}
.otp-success{
    margin-top: 5px;
    color: green;
    font-size: 14px;
}
.otp-failed{
    margin-top: 5px;
    color: red;
    font-size: 14px;
}

.ioc-certificate-info .download-certificate-btn a {
    text-decoration: none;
    background-color: #009B7D;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.ioc-certificate-info .check-mark-image,.ioc-certificate-info .error-image {
    width: 72px;
    height: 72px;
}

.certificate-image-wrapper {
    margin-top: 40px;
}

.certificate-image-wrapper img {
    height: auto;
}

.ioc_hide_btn{
    visibility: hidden;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.6;
    color: #888 !important;
    text-decoration: none;
    cursor: not-allowed;
}


/* ================= Download Certificate Section End =================== */

/*================== Responsive CSS ======================== */
@media (max-width: 576px) { 
    .download-certificate-link{
        margin-left: 5px !important;
    }
}

@media (max-width: 768px) { 
    .download-certificate-link{
        margin-left: 45%;
    }
}

@media  (min-width:768px) and (max-width: 1024px){
    .basic-info .info-section{
        width: 50% !important;
        margin: auto;
    }
}

@media (max-width: 1200px) {
.download-certificate-link .certificate-link {
    font-size: 12px;
    padding: 12px;
}

    .basic-info {
        display: block;
        padding: 40px 16px;
    }

    .basic-info .info-section,
    .basic-info .image-section {
        width: auto;
    }

    .info-section .basic-info-heading {
        color: #0B0C0E;
        margin-bottom: 30px;
        font: normal normal 600 24px / 20px "Inter";
    }

    .info-section .get-otp-btn {
        margin-bottom: 46px;
    }

    .modal-content {
        padding: 24px;
    }

    .modal-title {
        font-size: 16px;
    }

    .otp-info {
        font-size: 16px;
    }

    .otp-time {
        font-size: 14px;
    }

    .failed-verification-image img {
        text-align: center;
    }

    .failed-otp-desc {
        font-size: 16px;
    }

    .ioc-certificate-wrapper {
        padding: 40px 16px;
    }

    .ioc-certificate-info {
        display: block;
        align-items: center;
        text-align: center;
        background-color: #E4F5F4;
        padding: 24px;
        border-radius: 12px;
    }

    .ioc-certificate-info .section-title {
        font-size: 20px;
        margin-top: 16px;
    }

    .ioc-certificate-info .section-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .ioc-certificate-info .download-certificate-btn {
        margin-bottom: 15px;
    }

    .download-certificate-link .certificate-link {
        font-size: 12px;
        padding: 12px;
        border-radius: 6px;
    }

    .ioc-certificate-info-img-wrapper {
        align-items: center;
        justify-content: center;
        display: flex;
        width: 100%;
    }

}
/*================== Responsive CSS END ======================== */