@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root { --primary-red: #ed1c24; --dark: #1a1d21; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--dark); background: #fff; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 12px; }
.site-header { background: var(--dark); padding: 0.75rem 0; }
.logo img { height: 40px; }
.checker-section { padding: 1rem 0; background: #fff; }
.checker-wrapper { max-width: 100%; margin: 0 auto; }
.checker-card { background: #fff; border-radius: 8px; padding: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-top: 3px solid var(--primary-red); max-width: 500px; margin: 0 auto; }
.card-header { text-align: center; margin-bottom: 1rem; }
.icon-wrapper { width: 44px; height: 44px; margin: 0 auto 0.6rem; background: var(--primary-red); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem; }
.checker-card h2 { font-size: 1.15rem; font-weight: 800; color: var(--dark); margin: 0 0 0.25rem; }
.subtitle { color: #6c757d; font-size: 0.8rem; margin: 0; }
.consult-form { margin-top: 1rem; }
.form-group { margin-bottom: 0.875rem; }
.form-group label { display: flex; align-items: center; gap: 0.35rem; font-weight: 600; color: var(--dark); margin-bottom: 0.35rem; font-size: 0.8rem; }
.form-group label i { color: var(--primary-red); font-size: 0.8rem; }
.optional { color: #6c757d; font-weight: 400; font-size: 0.7rem; }
.input-wrapper { position: relative; }
.form-control { width: 100%; padding: 0.5rem 2.125rem 0.5rem 0.625rem; font-size: 0.85rem; border: 1.5px solid #dee2e6; border-radius: 6px; font-family: 'Inter', sans-serif; transition: all 0.2s; background: #fff; }
.form-control:focus { outline: none; border-color: var(--primary-red); box-shadow: 0 0 0 2px rgba(237,28,36,0.1); }
.input-icon { position: absolute; right: 0.625rem; top: 50%; transform: translateY(-50%); color: #adb5bd; font-size: 0.9rem; pointer-events: none; }
.form-control:focus ~ .input-icon { color: var(--primary-red); }
.form-control.is-valid { border-color: #28a745; }
.form-control.is-invalid { border-color: var(--primary-red); background: #fff5f5; }
.error-msg { color: var(--primary-red); font-size: 0.7rem; margin-top: 0.3rem; display: none; font-weight: 500; }
.error-msg.show { display: block; }
.input-hint { color: #6c757d; font-size: 0.65rem; margin-top: 0.3rem; font-style: italic; }
.btn-dice { position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: none; background: var(--primary-red); color: #fff; border-radius: 5px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.btn-dice:hover { background: #c11218; }
.btn-dice:active { transform: translateY(-50%) scale(0.95); }
.btn-dice i { transition: transform 0.2s; }
.btn-dice:hover i { transform: rotate(180deg); }
.form-actions { margin-top: 1.25rem; }
.btn-submit { width: 100%; padding: 0.625rem 0.875rem; font-size: 0.875rem; font-weight: 700; color: #fff; background: var(--primary-red); border: none; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-family: 'Inter', sans-serif; transition: all 0.2s; box-shadow: 0 2px 8px rgba(237,28,36,0.2); }
.btn-submit:hover { background: #c11218; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(237,28,36,0.3); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-submit i { transition: transform 0.2s; }
.btn-submit:hover i { transform: translateX(2px); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.form-control.is-invalid { animation: shake 0.3s ease; }
.site-footer-full { background: var(--dark); color: #fff; padding: 1.25rem 0 0; margin-top: 1.5rem; }
.footer-top { padding: 1.25rem 0; border-bottom: 1px solid #2d3035; }
.footer-section-title { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.75rem; color: #fff; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.75rem; }
.logo-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.3rem; }
.logo-item small { color: #aaa; font-size: 0.6rem; line-height: 1.2; }
.logo-placeholder { background: #fff; color: var(--dark); padding: 0.4rem 0.75rem; border-radius: 3px; font-weight: 800; font-size: 0.7rem; }
.logo-lotep-footer { height: 30px; filter: brightness(0) invert(1); }
.footer-links { padding: 1.25rem 0; }
.links-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr; gap: 1.25rem; }
.footer-column h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.6rem; color: #fff; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 0.35rem; }
.footer-column ul li a { color: #aaa; text-decoration: none; font-size: 0.75rem; }
.footer-column ul li a:hover { color: #fff; }
.contact-info p { color: #aaa; font-size: 0.75rem; margin-bottom: 0.4rem; line-height: 1.3; }
.contact-info i { color: var(--primary-red); margin-right: 0.35rem; width: 12px; font-size: 0.7rem; }
.footer-bottom { background: #0d0f11; padding: 0.875rem 0; text-align: center; }
.footer-bottom p { margin: 0; color: #aaa; font-size: 0.7rem; }
.footer-bottom .version { color: #666; font-size: 0.65rem; margin-top: 0.2rem; }
@media (max-width: 992px) { .links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .checker-section { padding: 0.75rem 0; } .checker-card { padding: 0.875rem; } .checker-card h2 { font-size: 1rem; } .icon-wrapper { width: 38px; height: 38px; font-size: 1.1rem; } .logos-row { gap: 0.6rem; } .links-grid { grid-template-columns: 1fr; gap: 1rem; } .footer-column h4 { font-size: 0.8rem; } }
@media (max-width: 480px) { .checker-card { padding: 0.75rem; } .checker-card h2 { font-size: 0.95rem; } .subtitle { font-size: 0.75rem; } .form-control { padding: 0.5rem 1.875rem 0.5rem 0.5rem; font-size: 0.8rem; } .btn-dice { width: 26px; height: 26px; font-size: 0.75rem; } .btn-submit { padding: 0.5rem 0.75rem; font-size: 0.8rem; } }
/* Footer Logo Images */
.footer-logo-img {
    max-height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.2s;
}
.footer-logo-img:hover {
    transform: scale(1.05);
}
.lotep-img {
    max-height: 50px;
    filter: none !important;
}
.logo-lotep-item small {
    color: #aaa;
    font-size: 0.6rem;
    margin-top: 0.3rem;
}

@media (max-width: 768px) {
    .footer-logo-img {
        max-height: 28px;
    }
    .lotep-img {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .footer-logo-img {
        max-height: 24px;
    }
    .lotep-img {
        max-height: 35px;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-overlay.active {
    display: flex;
    opacity: 1;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.loading-logo {
    height: 120px;
    width: auto;
    margin-bottom: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(237, 28, 36, 0.2);
    border-top-color: var(--primary-red);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .loading-logo {
        height: 60px;
    }
    .loading-spinner {
        width: 50px;
        height: 50px;
    }
    .loading-text {
        font-size: 0.9rem;
    }
}

