/* eVISA Authenticity Checker - Frontend Styles */


@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html * {
    font-family: Montserrat!important;
}

body {
    background: #f8f9fa;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #212529;
}

.evisa-checker-container {
    max-width: 1140px;
    margin: 40px auto;
    font-family: 'Montserrat', sans-serif;
}

.evisa-checker-form {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .175);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.evisa-form-header {
    background: #003061;
    color: #ffffff;
    padding: 20px;
    margin: -30px -30px 30px -30px;
    border-radius: 6px 6px 0 0;
    font-size: 16x;
    font-weight: 600;
    line-height: 19px;
}

.evisa-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.evisa-breadcrumb a {
    color: #1a3a5c;
    text-decoration: none;
}

.evisa-breadcrumb a:hover {
    text-decoration: underline;
}

.evisa-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.evisa-form-group {
    position: relative;
    padding: 20px 0;
}

.evisa-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: #666;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.evisa-form-group label .required {
    color: #d32f2f;
}

.evisa-help-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #c9d3df00;
    color: #6495ed;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 5px;
    vertical-align: middle;
    border: 1px solid #6495ed;
}

.evisa-form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    color: #212529;
     font-family: 'Montserrat', sans-serif;
}

.evisa-form-group input[type="text"]:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem #0d6efd40;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;

}

.evisa-form-group input[type="text"].error {
    border-color: #d32f2f;
}

.evisa-error-message {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.evisa-error-message.show {
    display: block;
}

.evisa-captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.evisa-captcha-image {
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.evisa-captcha-image:hover {
    opacity: 0.8;
}

.evisa-captcha-reload {
    color: #1a3a5c;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
}

.evisa-captcha-reload:hover {
    opacity: 0.7;
}

.evisa-form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.evisa-btn {
    padding: 12px 40px;
    border: 1px solid #003061;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 180px;
}

.evisa-btn-reset {
    background: #ffffff;
    color: #333;
    border: 1px solid black;
}

.evisa-btn-reset:hover {
    background: #fff;
    color: black;
    border: 1px solid black;
}

.evisa-btn-check {
    background: #003061;
    color: #ffffff;
    border-color: #003061;
    position: relative;
}

.evisa-btn-check:hover {
    background: #003061;
    border-color: #003061;
    color: #fff;
}

.evisa-btn-check:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.evisa-loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

.evisa-btn-check.loading .evisa-loading-spinner {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* .evisa-alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
} */

.evisa-alert.show {
    display: block;
}

.evisa-alert-error {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

/* .evisa-alert-warning {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    color: #e65100;
} */

.evisa-alert-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.evisa-result-container {
    background: #ffffff;
     border: 1px solid rgba(0, 0, 0, .175);
    border-radius: 8px;
    padding: 30px;
    display: none;
    margin-top: 24px;
}

.evisa-result-container.show {
    display: block;
}

.evisa-result-header {
    background: #003061;
    color: #ffffff;
    padding: 20px;
    margin: -30px -30px 30px -30px;
    border-radius: 6px 6px 0 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
}

.evisa-result-content {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
}

.evisa-result-photo {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.evisa-result-photo img {
    width: 100%;
    max-width: 150px !important;
    max-height: 150px !important;
    /* border: 2px solid #ddd; */
    border-radius: 4px;
    margin-bottom: 15px;

}

.evisa-status-badge {
    display: block;
    padding: .35em .65em;
    background: #198754;
    color: white;
    border-radius: .375em;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 12px !important;
}

.evisa-status-badge.rejected {
    background: #f44336;
}

.evisa-status-badge.pending {
    background: #ff9800;
}

.evisa-result-details {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
    border-left: 2px solid #d7d7d7;
    padding: 0px 40px;

}

.evisa-validity-badge {
    display: inline-block;
    padding: .35em .65em;
    background: #198754;
    color: white;
    border-radius: .375em;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 125px;
    line-height: 12px;
}

.evisa-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.evisa-info-item {
    /* background: #f8f9fa; */
    padding: 5px 0px;
    /* border-radius: 4px; */
    /* border-left: 3px solid #1a3a5c; */
}

.evisa-info-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 400;
    line-height: normal;
}

.evisa-info-value {
    font-size: 16px;
    color: #212529;
    font-weight: 600;
    line-height: 19px;
}

.evisa-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.evisa-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.evisa-modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.evisa-modal-header {
    background: #1a3a5c;
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.evisa-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.evisa-modal-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.evisa-modal-close:hover {
    opacity: 0.7;
}

.evisa-modal-body {
    padding: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* Loading Overlay */
.evisa-loading-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.evisa-loading-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.evisa-loading-content {
    text-align: center;
    color: white;
}

.evisa-loading-content .evisa-loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0);
    border-top-color: #007bff; /* Blue color */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 20px;
}

.evisa-loading-content p {
    font-size: 18px;
    margin: 0;
}


input#captcha {
    /* max-width: 391px; */
    width: 308px;
}

.evisa-notification-container.show {
    color: #58151F;
    background: #f8d7da;
    padding: 16px;
    border: 1px solid #f1aeb5;
    border-radius: .375rem;
    margin-top: 20px;
}


@media (max-width: 768px) {
    .evisa-form-row {
        grid-template-columns: 1fr;
        gap: 0px;
    }


    .evisa-result-content {
        grid-template-columns: 1fr;
    }

    .evisa-info-grid {
        grid-template-columns: 1fr;
    }

    .evisa-form-actions {
        flex-direction: row;
    }

    .evisa-btn {
        /* width: 100%; */
        min-width: 160px;
    }

    .evisa-captcha-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .evisa-result-details {
   
    /* gap: 20px; */
    border-left: 0px solid #d7d7d7;
   

}

.evisa-form-group {
    padding: 10px 0;
}
	
	.evisa-form-group label {
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.right-column {
    margin-top: -10px;
}

}
