/* === VALIDATE CERTIFICATE - PUBLIC STYLES === */

.vc-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.vc-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

#vc-check-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#vc-check-form input[type="text"] {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

#vc-check-form input[type="text"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#vc-check-form input[type="submit"] {
    padding: 12px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#vc-check-form input[type="submit"]:hover {
    background: #2563eb;
}

#vc-result {
    margin-top: 20px;
}

/* === RESULT CARD === */
.vc-result-card {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.vc-valid {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

/* === RESULT ITEM LAYOUT === */
.vc-result .result-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 24px;
    border-bottom: 1px solid #e0e0e0;
    font-family: inherit;
}

.vc-result .result-label {
    flex: 0 0 180px;
    font-weight: 600;
    color: #2c3e50 !important; /* ✅ TEGAS, NGGAK BUREM */
    position: relative;
    padding-right: 10px;
    text-align: left;
    opacity: 1 !important;
    min-height: 24px;
    display: flex;
    align-items: center;
}

.vc-result .result-label::after {
    content: ":";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: normal;
    color: #777;
}

.vc-result .result-value {
    flex: 1;
    color: #444;
    word-wrap: break-word;
    min-width: 0;
    line-height: 1.5;
}

/* === DARK THEME OVERRIDE === */
.vc-result-card.theme-dark .vc-result .result-label {
    color: #e2e8f0 !important;
}
.vc-result-card.theme-dark .vc-result .result-label::after {
    color: #a0aec0;
}
.vc-result-card.theme-dark .vc-result .result-value {
    color: #f0f0f0 !important;
}

/* === GLASS THEME OVERRIDE === */
.vc-result-card.theme-glass .vc-result .result-label {
    color: #f0f0f0 !important;
}
.vc-result-card.theme-glass .vc-result .result-label::after {
    color: #d0d0d0;
}
.vc-result-card.theme-glass .vc-result .result-value {
    color: #f0f0f0 !important;
}

/* === MINIMALIST THEME OVERRIDE === */
.vc-result-card.theme-minimalist .vc-result .result-label {
    color: #2c3e50 !important;
}
.vc-result-card.theme-minimalist .vc-result .result-label::after {
    color: #777;
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 600px) {
    .vc-form {
        margin: 20px;
        padding: 16px;
    }

    .vc-result .result-item {
        padding: 12px 16px;
        flex-direction: column;
        gap: 4px;
    }

    .vc-result .result-label {
        flex: none;
        width: auto;
        padding-right: 0;
        justify-content: flex-start;
    }

    .vc-result .result-label::after {
        content: ": ";
        position: static;
        transform: none;
        margin-left: 4px;
    }

    .vc-result .result-value {
        width: 100%;
        margin-top: 0;
    }
}