/* Widget Container */
.pct-widget-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Calculator Form */
.calculator-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.input-wrapper {
    margin-bottom: 1.5rem;
}

.input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.input-header label,
.input-header {
    font-weight: 600;
    color: var(--text-main);
}

/* Inputs & Selects */
.input-field,
select.input-field {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Mode Selector */
.mode-select-wrapper {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Action Button */
.calc-action-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.calc-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* --- RESULT SECTION --- */
.result-container {
    margin-top: 2rem;
    display: none;
    animation: fadeIn 0.4s ease-out;
}

/* Hero Result */
.hero-card {
    background: #10b981;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.hero-label {
    opacity: 0.9;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.hero-value {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Formula Box */
.formula-box {
    background: #fff;
    padding: 1.5rem;
    border-left: 5px solid #4f46e5;
    font-family: 'Courier New', monospace;
    margin-top: 2rem;
    text-align: left;
    color: #374151;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* SEO Content */
.info-section {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-top: 3rem;
}

.info-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.info-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.info-section ul {
    padding-left: 20px;
    color: var(--text-muted);
}

.info-section li {
    margin-bottom: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .hero-value {
        font-size: 2rem;
    }
}