/* Container Scoping */
.vnc-calculator-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    font-family: 'Poppins', sans-serif;
}

.vnc-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 2.2rem;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.vnc-card h1 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 1.8rem;
    color: #1f2933;
    font-size: 24px;
}

/* Form Styles */
.vnc-form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.vnc-form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: #374151;
    font-weight: 500;
}

.vnc-input-wrapper {
    position: relative;
}

.vnc-input-wrapper i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.vnc-card input, 
.vnc-card select {
    width: 100% !important;
    padding: 0.7rem 0.9rem 0.7rem 2.6rem !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    outline: none;
    background: #ffffff !important;
    font-size: 0.9rem !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    transition: all 0.25s ease;
}

.vnc-card input:focus, 
.vnc-card select:focus {
    border-color: #a78bfa !important;
    box-shadow: 0 0 0 3px rgba(167,139,250,0.25) !important;
}

.vnc-hint {
    font-size: 0.75rem;
    margin-top: 0.3rem;
    color: #6b7280;
}

.vnc-hint.error { color: #dc2626; }
.vnc-hint.success { color: #16a34a; }

/* Buttons */
.vnc-btn-submit {
    width: 100%;
    padding: 0.85rem;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 0.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.vnc-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139,92,246,0.35);
}

.vnc-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Result Section (Hidden by default) */
#vnc-result-container {
    display: none;
}

.vnc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}

.vnc-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem 0.6rem;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.vnc-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.4rem;
    font-size: 0.95rem;
    color: #ffffff;
}

.vnc-mulank-bg { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.vnc-bhagyank-bg { background: linear-gradient(135deg, #10b981, #22c55e); }
.vnc-vehicle-bg { background: linear-gradient(135deg, #f59e0b, #f97316); }

.vnc-stat-title { font-size: 0.7rem; color: #6b7280; margin-bottom: 0.2rem; }
.vnc-stat-value { font-size: 1.4rem; font-weight: 600; color: #111827; }

.vnc-compatibility-card {
    margin-top: 1.4rem;
    padding: 1.2rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(139,92,246,0.35);
    text-align: left;
}

.vnc-compatibility-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
}

.vnc-compatibility-card p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #fff;
}

.vnc-status-badge {
    margin-top: 0.8rem;
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.25);
    font-size: 0.7rem;
    font-weight: 500;
}

.vnc-reset-btn {
    width: 100%;
    padding: 0.9rem;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    background: #ffffff;
    color: #4f46e5;
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: 1.6rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

/* Loader Animation */
.vnc-loader {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: vnc-spin 1s linear infinite;
    display: none;
}

@keyframes vnc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .vnc-card { padding: 1.5rem; }
    .vnc-stat-value { font-size: 1.1rem; }
}