.vma-cce-wrapper {
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    margin: 20px 0;
    background: #ffffff;
}

.vma-cce-logo img {
    max-height: 60px;
    margin-bottom: 10px;
}

.vma-cce-title {
    margin: 0;
    font-size: 1.6rem;
    color: var(--vma-primary, #0052CC);
}

.vma-cce-subtitle {
    margin: 6px 0 0;
    color: #4b5563;
}

.vma-cce-alerts { margin: 14px 0; }
.vma-cce-alert {
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.vma-cce-alert-success { background: #ecfdf5; border: 1px solid #86efac; color: #166534; }
.vma-cce-alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.vma-cce-alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.vma-cce-form .vma-cce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.vma-cce-field label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.vma-cce-field input,
.vma-cce-field select,
.vma-cce-field textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
}

.vma-cce-field small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
}

.vma-cce-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 500;
}
.vma-cce-checkbox input { width: auto; margin-top: 3px; }

.vma-cce-submit {
    margin-top: 16px;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--vma-primary, #0052CC), var(--vma-accent, #FFC000));
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.vma-cce-submit:hover { opacity: 0.92; }

.vma-cce-results {
    margin-top: 24px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.vma-cce-results-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .vma-cce-results-grid { grid-template-columns: 1fr; }
}

.vma-cce-results-summary {
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.vma-cce-results-total-label { margin: 0; color: #4b5563; }

.vma-cce-results-total-amount {
    margin: 4px 0 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--vma-primary, #0052CC);
}

.vma-cce-results-total-net { color: #16a34a; }

.vma-cce-breakdown {
    width: 100%;
    border-collapse: collapse;
}

.vma-cce-breakdown th,
.vma-cce-breakdown td {
    border: 1px solid #e5e7eb;
    padding: 8px 10px;
    font-size: 0.9rem;
}

.vma-cce-breakdown th { background: #f3f4f6; }

.vma-cce-credit-row td { color: #16a34a; }

.vma-cce-results-side {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #f9fafb;
}

.vma-cce-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--vma-accent, #FFC000);
    color: #111827;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.vma-cce-print-btn {
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    background: var(--vma-primary, #0052CC);
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
}

.vma-cce-print-btn:hover { opacity: 0.92; }

.vma-cce-disclaimer {
    margin-top: 10px;
    font-size: 0.82rem;
    color: #6b7280;
}

.vma-cce-footnote {
    margin-top: 10px;
    color: #6b7280;
}

.vma-cce-share {
    margin-top: 14px;
    padding: 12px;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    background: #ffffff;
}
.vma-cce-share-title {
    font-weight: 800;
    margin-bottom: 8px;
    color: #111827;
}
.vma-cce-share-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.vma-cce-share-input {
    flex: 1;
    font-size: 0.9rem;
}
.vma-cce-copy-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 800;
    background: var(--vma-accent, #FFC000);
    color: #111827;
}

.vma-cce-copy-btn:hover { opacity: 0.92; }

@media print {
    .vma-cce-submit,
    .vma-cce-print-btn,
    .vma-cce-copy-btn,
    .vma-cce-alerts,
    .site-header,
    .site-footer,
    .widget-area,
    .navigation,
    .menu { display: none !important; }

    .vma-cce-wrapper { box-shadow: none; border: none; }
    .vma-cce-share { display: none !important; }
}
