/* ========================================
   Validate Certificate Pro - Frontend CSS
   Theme: Base Styles (Override by inline dynamic CSS)
   ======================================== */

/* Reset ringan untuk kontainer utama */
.vc-form,
.vc-result-card {
    box-sizing: border-box;
}

/* Form Input Styling */
.vc-form {
    max-width: 400px;
    margin: 30px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.5;
}

.vc-form h3 {
    text-align: center;
    margin: 0 0 20px;
    font-size: 1.4em;
    color: #2c3e50;
}

.vc-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.vc-form input[type="text"]:focus {
    border-color: #4CAF50;
}

.vc-form input[type="submit"] {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(to bottom, #4CAF50, #45A049);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 0 #388e3c;
    transition: all 0.2s ease-in-out;
}

.vc-form input[type="submit"]:hover {
    background: linear-gradient(to bottom, #45A049, #4CAF50);
    box-shadow: 0 2px 0 #2e7d32;
    transform: translateY(-1px);
}

/* Hasil Validasi: Base Class (akan di-override oleh tema) */
.vc-result-card {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
}

/* Optional: Jika tetap ingin gunakan .vc-result untuk fallback */
.vc-result {
    margin-top: 25px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.vc-result ul {
    list-style: none;
    padding: 0;
}

.vc-result li {
    margin-bottom: 8px;
}

.vc-valid {
    color: #2e7d32;
    font-weight: bold;
    margin-bottom: 12px;
}

.vc-invalid {
    color: #c62828;
    font-weight: bold;
    margin-bottom: 12px;
}

/* Responsif: Mobile */
@media (max-width: 480px) {
    .vc-form {
        margin: 15px;
        padding: 20px;
    }
}