/*
Theme Name: HomeNest Child
Theme URI: https://homenest.software/
Template: homenest-theme-elementor
Author: HomeNest Software
Author URI: https://homenest.software/
Description: HomeNest is a lightweight and minimalist WordPress theme developed by HomeNest Software, built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.7.1780397597
Updated: 2026-06-02 10:53:17

*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

/* ==========================================================================
   Digital Certificate Verification Styles
   ========================================================================== */
.dcert-wrapper {
    margin: 40px auto;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.dcert-title {
    font-size: 22px;
    font-weight: 700;
    color: #0d3859;
    margin-bottom: 30px;
    text-align: left;
}

/* Stepper (Progress Bar) */
.dcert-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto 40px auto;
    position: relative;
}

.dcert-step-line-bg {
    position: absolute;
    top: 13px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.dcert-step-line-active {
    position: absolute;
    top: 13px;
    left: 8%;
    width: 0%;
    height: 2px;
    background: #1b5e8c;
    z-index: 1;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dcert-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
    flex-grow: 1;
}

.dcert-step-number {
    --width-step-number: 20px;
    font-size: 16px;
    width: var(--width-step-number);
    height: var(--width-step-number);
    align-items: center;
    color: rgb(73, 134, 176);
    border-radius: 50%;
    background: rgb(220, 227, 233);
    text-align: center;
    line-height: var(--width-step-number);
}

.dcert-step-label {
    margin-top: 8px;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    color: #00292B;
    letter-spacing: 0.14px;
}

.dcert-step-line {
    width: 50%;
    height: 1px;
    background-color: #E2E8F0;
    position: absolute;
    z-index: -1;
    top: 9px;
}

.dcert-step-line.dcert-step-line-left {
    left: 0;
}

.dcert-step-line.dcert-step-line-right {
    right: 0;
}

/* Stepper States */
.dcert-step.active .dcert-step-number {
    background: rgb(73, 134, 176);
    color: #ffffff;
}

.dcert-step.active .dcert-step-line.dcert-step-line-left {
    background-color: rgb(73, 134, 176);
}

.dcert-step.active:has(+ .dcert-step.active) .dcert-step-line.dcert-step-line-right {
    background-color: rgb(73, 134, 176);
}

#step-node-3.active .dcert-step-line.dcert-step-line-right {
    background-color: rgb(73, 134, 176);
}



/* Main Card Container */
.dcert-card {
    background: #f0f6fa;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: all 0.3s ease;
}

/* Views Common */
.dcert-view {
    animation: dcert-fadeIn 0.4s ease;
}

@keyframes dcert-fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step 1: Dropzone */
.dcert-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    border-radius: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dcert-dropzone.dragover {
    background-color: #e2ecf5;
    border: 2px dashed #1b5e8c;
}

.dcert-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dcert-svg-icon {
    width: 130px;
    height: auto;
    display: block;
    max-width: 100%;
}

.dcert-upload-text {
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #2b3a4a;
    margin-bottom: 32px;
    margin-top: 38px;
}

.dcert-upload-text strong {
    color: #0d283d;
    font-weight: 700;
}

.dcert-browse-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 16px;
    color: #00292b;
}

/* Buttons */
.dcert-btn {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 12px 8px 0;
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    outline: none;
    line-height: 1.5em;
}

.dcert-btn-primary {
    background-color: #2b5a83 !important;
    color: #ffffff;
    border: 1px solid #2b5a83;
}

.dcert-btn-primary:hover {
    background-color: #1e415f !important;
    border-color: #1e415f;
}

.dcert-btn-primary:focus {
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.6);
}

.dcert-btn-primary:active {
    background-color: #1D3957 !important;
}

.dcert-btn-secondary {
    background-color: #0000 !important;
    color: #2b5a83;
    border: 1px solid rgb(168, 184, 194);
}

.dcert-btn-secondary:hover {
    background-color: #1e415f !important;
    border-color: #1e415f;
}

.dcert-btn-secondary:focus {
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.6);
}

.dcert-btn-secondary:active {
    background-color: rgb(218, 224, 229) !important;
}

/* View 2: Error Screen (non-PDF) */
.dcert-error-text {
    font-size: 16px;
    color: #2b3a4a;
    margin-bottom: 32px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

/* View 3: Status & CAPTCHA */
.dcert-status-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.dcert-filename-box {
    margin-top: 11px;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.16px;
    overflow-wrap: anywhere;
}

.dcert-captcha-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    width: 80%;
    max-width: 320px;
    margin-top: 32px;
}

#dcert-captcha-canvas {
    display: block;
    width: 100%;
}



.dcert-captcha-input-wrapper {
    max-width: 320px;
    width: 80%;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#dcert-captcha-input {
    width: 100%;
    padding: 0px 14px;
    height: 40px;
    border: 1px solid rgb(226, 232, 240);
    border-radius: 4px;
    font-size: 16px;
    text-align: left;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: transparent;
}

#dcert-captcha-input:hover {
    border-color: #CBD5E0;
}


#dcert-captcha-input::placeholder {
    color: #a0aec0;
}

#dcert-captcha-input:focus {
    border-color: rgb(49, 130, 206);
    box-shadow: rgb(49, 130, 206) 0px 0px 0px 1px;
}

.dcert-error-msg {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 600;
}

.dcert-actions {
    display: flex;
    gap: 40px;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.dcert-actions .dcert-btn {
    padding: 8px 12px;
    font-size: 16px;
    margin: 0;
}

/* View 4: Loading State */
.dcert-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
}

.dcert-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(27, 94, 140, 0.1);
    border-top: 4px solid #1b5e8c;
    border-radius: 50%;
    animation: dcert-spin 0.8s linear infinite;
    margin-bottom: 20px;
}

@keyframes dcert-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.dcert-loading-container p {
    font-size: 15px;
    color: #4a5568;
    font-weight: 500;
}

/* View 5: Success State */

.dcert-success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dcert-success-title {
    font-size: 20px;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 16px;
    margin-top: 16px;
}

.dcert-success-desc {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.5em;
    font-weight: 400;
}

.dcert-desc-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.dcert-desc-container .dcert-success-desc {
    margin-bottom: 0;
}

#dcert-details-btn {
    padding: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.16px;
    color: rgb(0, 90, 163);
    text-decoration: underline;
    margin: 0 !important;
	background: transparent !important;
}

#dcert-reset-btn {
    font-size: 14px;
	margin-bottom: 8px;
}


.dcert-failure-title {
    font-size: 20px;
    font-weight: 700;
    color: #c4040b;
    margin-top: 16px;
    margin-bottom: 16px;
}

.dcert-result-details {
    margin-top: 10px;
    padding: 16px;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    max-width: 480px;
    width: 90%;
    box-sizing: border-box;
    text-align: left;
    margin-bottom: 25px;
}

.dcert-details-title {
    font-weight: 700;
    font-size: 14px;
    color: #b71c1c;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dcert-details-content {
    font-size: 13px;
    color: #c62828;
    line-height: 1.5;
    word-break: break-word;
}



/* Modal Overlay / Backdrop */
.dcert-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dcert-modal-fadeIn 0.2s ease-out;
}

@keyframes dcert-modal-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal Content Container */
.chakra-modal__content.css-17bjj9u {
    background: #ffffff;
    border-radius: 12px;
    max-width: 576px;
    width: 100%;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: dcert-modal-scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid #e2e8f0;
    box-shadow: rgba(37, 42, 49, 0.24) 0px 12px 24px, rgba(37, 42, 49, 0.32) 0px 8px 60px;
    box-sizing: border-box;
}

@keyframes dcert-modal-scaleUp {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modal Header */
.chakra-modal__header.css-1ady9a {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    width: 100%;
    gap: 8px;
}

.chakra-image.css-xkfe7y {
    width: 56px;
    height: 56px;
}

.chakra-text.css-1h8x41r {
    font-size: 20px;
    font-weight: 700;
    color: #1A202C;
    margin: 0;
    line-height: 1.4em;
    text-align: left;
}

/* Modal Body */
.chakra-modal__body.css-qlig70 {
    margin-bottom: 24px;
    width: 100%;
}

.chakra-text.css-rvslsb {
    font-size: 16px;
    color: #616161;
    line-height: 1.5em;
    margin: 0;
    text-align: left;
}

/* Modal Footer */
.chakra-modal__footer.css-1vcv3p7 {
    display: flex;
    justify-content: end;
    width: 100%;
    padding-right: 12px;
    padding-bottom: 8px;
}

/* Confirm Label Button */
.chakra-form__label.sc-hLBbgP.hTTndz.css-2gx1h6 {
    display: inline-block;
    background-color: rgb(53, 101, 141);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5em;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(43, 90, 131, 0.2), 0 2px 4px -1px rgba(43, 90, 131, 0.1);
    user-select: none;
    border: none;
    outline: none;
}


.chakra-form__label.sc-hLBbgP.hTTndz.css-2gx1h6:active {
    background-color: rgb(29, 57, 87);
}

@media (max-width: 1024px) {
	.dcert-upload-text {
		font-size: 12px;
	}
}