/* Container and Card Styles */
.evc-container {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.evc-card {
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 1.5rem;
}

.evc-title {
    font-size: 32px;
    font-weight: bold;
    color: #74943d;
    margin-bottom: 1rem;
}

.evc-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
}

.evc-input, .evc-select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.evc-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.evc-btn-calc {
    background: #16a34a;
    color: #fff;
}

.evc-btn-calc:hover {
    background: #166534;
}

.evc-btn-reset {
    background: #6b7280;
    color: #fff;
}

.evc-btn-reset:hover {
    background: #374151;
}

.evc-results-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.evc-result-box {
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.evc-result-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.evc-result-value {
    font-size: 1.1rem;
    font-weight: bold;
}

.evc-result-value-green {
    color: #15803d;
}

.evc-result-value-blue {
    color: #2563eb;
}

.evc-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 13px;
}

@media (max-width: 768px) {
    .evc-grid-2col {
        grid-template-columns: 1fr;
    }
}

.evc-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    background: #fff;
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    max-width: 400px;
}

.evc-results-label {
    display: block;
    font-size: 1rem;
    color: #444;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.evc-results-number {
    display: block;
    font-size: 2rem;
    color: #222;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
}

.evc-section-heading {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.5rem !important;
    color: #444 !important;
    line-height: 9px;
}

.evc-volatility-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.evc-switch-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.evc-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    margin-top: 10px;
}

.evc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.evc-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 22px;
}

.evc-switch input:checked + .evc-slider {
    background-color: #74943D;
}

.evc-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.evc-switch input:checked + .evc-slider:before {
    transform: translateX(18px);
}

.evc-switch-label {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: #222;
    display: block;

}

.evc-loader {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-top: 2px solid #74943D;
    border-radius: 50%;
    animation: evc-spin 0.7s linear infinite;
    z-index: 2;
    background: transparent;
}
.evc-btn-loader {
    position: absolute;
    right: 10px;
    top: 35%;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-left: 8px;
    border: 2px solid #d1d5db;
    border-top: 2px solid #74943D;
    border-radius: 50%;
    animation: evc-spin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes evc-spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}