/* Pentest Calculator Styles - extracted from original blog-post-3-pentest-calculator.html */

/* Calculator Styles */
.calculator-section {
    background: var(--secondary, #f1f5f9);
    border-radius: var(--border-radius-lg, 16px);
    padding: 40px;
    margin: 40px 0;
    border: 1px solid var(--border-color, #e2e8f0);
}

.calculator-header {
    text-align: center;
    margin-bottom: 32px;
}

.calculator-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin-bottom: 12px;
}

.calculator-subtitle {
    color: var(--text-secondary, #64748b);
    font-size: 16px;
}

.language-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary, #64748b);
}

.toggle-switch {
    position: relative;
    width: 64px;
    height: 32px;
    background: #cbd5e0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.toggle-switch.active {
    background: var(--primary, #2563eb);
    border-color: var(--primary, #2563eb);
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(32px);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.calculator-section .form-section {
    background: white;
    border-radius: var(--border-radius, 12px);
    padding: 24px;
    border: 1px solid var(--border-color, #e2e8f0);
}

.calculator-section .form-group {
    margin-bottom: 20px;
}

.calculator-section .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #0f172a);
    margin-bottom: 8px;
}

.calculator-section .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary, #0f172a);
    background: white;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.calculator-section .form-select:focus {
    outline: none;
    border-color: var(--primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.results-section {
    background: white;
    border-radius: var(--border-radius, 12px);
    padding: 32px;
    border: 1px solid var(--border-color, #e2e8f0);
    text-align: center;
}

.results-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary, #0f172a);
    margin-bottom: 24px;
}

.days-display {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary, #2563eb);
    margin-bottom: 8px;
}

.days-label {
    font-size: 16px;
    color: var(--text-secondary, #64748b);
    margin-bottom: 16px;
}

.size-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary, #2563eb);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cost-estimate {
    font-size: 14px;
    color: var(--text-secondary, #64748b);
}

.breakdown-section {
    margin-top: 24px;
    padding: 20px;
    background: var(--secondary, #f1f5f9);
    border-radius: var(--border-radius, 12px);
    border: 1px solid var(--border-color, #e2e8f0);
    text-align: left;
}

.breakdown-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #0f172a);
    margin-bottom: 16px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-info {
    flex: 1;
}

.breakdown-type {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #0f172a);
}

.breakdown-desc {
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    margin-top: 2px;
}

.breakdown-days {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary, #2563eb);
    margin-left: 16px;
}

.notes-section {
    margin-top: 24px;
    padding: 16px;
    background: var(--secondary, #f1f5f9);
    border-radius: var(--border-radius, 12px);
    border: 1px solid var(--border-color, #e2e8f0);
    text-align: left;
}

.notes-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #0f172a);
    margin-bottom: 8px;
}

.notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notes-list li {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    margin-bottom: 4px;
    padding-left: 16px;
    position: relative;
}

.notes-list li:before {
    content: "\2022";
    color: var(--primary, #2563eb);
    position: absolute;
    left: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .calculator-section {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .calculator-section {
        padding: 20px;
    }
    .days-display {
        font-size: 36px;
    }
}
