/* Layout & Container */
.cvc-wrapper {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.cvc-form {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Title */
.cvc-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #1f2937;
}

/* Description & Guide */
.cvc-description,
.cvc-how-to {
    margin: 0 auto 1rem auto;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    color: #1f2937;
}

.cvc-how-to-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

/* Tabs */
.cvc-tabs {
    display: flex;
    margin-bottom: 1rem;
}

.cvc-tab {
    flex: 1;
    padding: 0.5rem;
    background: #d1d5db;
    color: #1f2937;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.cvc-tab.active {
    background: #3b82f6;
    color: white;
}

/* Form Fields */
.cvc-field {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.cvc-field label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.cvc-field input[type="number"],
.cvc-field input[type="text"] {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.cvc-field input[type="checkbox"] {
    margin-right: 0.5rem;
}

#shapeSelection label {
    display: block;
    margin-bottom: 0.5rem;
}

/* Buttons */
.cvc-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cvc-btn {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    font-size: 1rem;
}

.cvc-btn.calc {
    background-color: #3b82f6;
}

.cvc-btn.calc:hover {
    background-color: #2563eb;
}

.cvc-btn.reset {
    background-color: #d0021b;
}

.cvc-btn.reset:hover {
    background-color: #a80215;
}

/* Result */
.cvc-result label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    display: block;
    color: #1f2937;
}

.cvc-result input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #f3f4f6;
    font-size: 1rem;
}