/**
 * Profit Margin Calculator - Styles
 * Mobile-first responsive design with accessibility considerations
 */

/* Variables */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #6b7280;
    --success-color: #10b981;
    --success-light: #34d399;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --profit-color: #10b981;
    --loss-color: #ef4444;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base styles */
.calculator-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.calculator-content {
    background: var(--bg-white);
}

/* Remove number input spinners */
input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input[type='number'] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 12px 0;
    margin-bottom: 20px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    padding: 0 8px;
    color: var(--text-secondary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* Hero Section */
.calculator-hero {
    text-align: center;
    padding: 50px 30px;
    background: var(--bg-gradient);
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.calculator-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.calculator-hero h1 {
    font-size: 28px;
    margin: 0 0 15px 0;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calculator-hero .lead {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Calculator Tool Section */
.calculator-tool {
    margin-bottom: 60px;
}

.calculator-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Inputs Section */
.calculator-inputs {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.calculator-inputs:hover {
    box-shadow: var(--shadow-xl);
}

.calculator-inputs h2 {
    margin: 0 0 25px 0;
    font-size: 22px;
    color: var(--text-primary);
}

.input-group {
    margin-bottom: 30px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
}

.label-text {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 4px;
}

.label-helper {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

.input-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.calculator-input {
    width: 100%;
    padding: 13px 16px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    font-family: inherit;
    background: var(--bg-white);
    font-weight: 500;
    line-height: 1.5;
}

.calculator-input:hover {
    border-color: var(--primary-light);
}

.calculator-input:focus {
    outline: none;
    border-color: var(--profit-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
    transform: translateY(-1px);
}

.calculator-input.error-state {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: var(--error-color);
    font-size: 13px;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

/* Range Slider */
.calculator-slider {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: linear-gradient(to right, #93c5fd 0%, var(--primary-light) 50%, var(--success-color) 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--success-color);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-xl);
    border-color: #059669;
}

.calculator-slider::-webkit-slider-thumb:active {
    transform: scale(1.05);
}

.calculator-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--success-color);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.calculator-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-xl);
    border-color: #059669;
}

.calculator-slider::-moz-range-thumb:active {
    transform: scale(1.05);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Calculator Actions */
.calculator-actions {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    flex: 0 1 auto;
    min-width: 140px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--profit-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary:disabled {
    background: var(--secondary-color);
}

.btn-primary:disabled:hover {
    background: var(--secondary-color);
    transform: none;
    box-shadow: none;
}

/* Results Section */
.calculator-results {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.calculator-results:hover {
    box-shadow: var(--shadow-xl);
}

.calculator-results h2 {
    margin: 0 0 25px 0;
    font-size: 22px;
    color: var(--text-primary);
}

.results-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.results-hidden {
    display: none;
}

/* Result Cards */
#results-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.results-row .result-card {
    transition: var(--transition);
}

.results-row .result-card:hover {
    transform: translateY(-4px);
}

.emi-highlight {
    grid-column: 1 / -1;
}

.emi-highlight .result-card {
    min-height: 100px;
}

.emi-highlight .result-icon {
    font-size: 48px;
}

.emi-highlight .result-value {
    font-size: 36px;
}

@media (min-width: 768px) {
    .emi-highlight .result-value {
        font-size: 42px;
    }
}

#results-container .charts-section {
    width: 100%;
    margin-top: 0;
}

#results-container .pricing-section {
    width: 100%;
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.result-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--profit-color);
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--success-light);
}

.result-card:hover::before {
    width: 6px;
}

.result-card.profit-card {
    background: var(--bg-gradient);
    color: white;
    border: none;
    box-shadow: var(--shadow-lg);
}

.result-card.profit-card::before {
    display: none;
}

.result-card.profit-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.result-icon {
    font-size: 40px;
    min-width: 50px;
    text-align: center;
}

.result-content {
    flex: 1;
}

.result-label {
    display: block;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.profit-card .result-label {
    opacity: 0.9;
}

.result-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .result-value {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .result-card {
        padding: 20px;
    }
    
    .result-icon {
        font-size: 32px;
        min-width: 40px;
    }
    
    .result-value {
        font-size: 24px;
    }
}

/* Donut Chart */
.charts-section {
    margin-top: 0;
    width: 100%;
}

.chart-wrapper {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    text-align: center;
}

.chart-wrapper h3 {
    margin: 0 0 25px 0;
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.donut-chart {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 25px;
}

.donut-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.donut-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-label {
    font-size: 14px;
    color: var(--text-primary);
}

/* Pricing Table Section */
.pricing-section {
    margin-top: 0;
    width: 100%;
}

.pricing-wrapper {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.pricing-section h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.section-description {
    margin: 0 0 20px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    max-width: 100%;
}

@media (max-width: 767px) {
    .table-responsive {
        margin: 0 -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .chart-wrapper {
        padding: 20px;
    }
    
    .donut-chart {
        width: 200px;
        height: 200px;
    }
    
    .pricing-wrapper {
        padding: 20px;
    }
    
    .calculator-actions {
        flex-wrap: wrap;
    }
    
    .btn {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}

.pricing-table th,
.pricing-table td {
    padding: 16px 12px;
    text-align: right;
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    text-align: left;
    font-weight: 600;
    padding-left: 20px;
    position: sticky;
    left: 0;
    background: var(--bg-white);
    z-index: 1;
}

.pricing-table thead th {
    background: var(--bg-white);
    color: var(--text-primary);
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 2;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.pricing-table thead th:first-child {
    z-index: 3;
}

.pricing-table tbody tr {
    transition: var(--transition-fast);
}

.pricing-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.pricing-table tbody tr:nth-child(even) td:first-child {
    background: var(--bg-light);
}

.pricing-table tbody tr:hover {
    background: #d1fae5;
    transform: scale(1.01);
    box-shadow: var(--shadow-sm);
}

.pricing-table tbody tr:hover td:first-child {
    background: #d1fae5;
}

@media (max-width: 767px) {
    .pricing-table th,
    .pricing-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .pricing-table th:first-child,
    .pricing-table td:first-child {
        padding-left: 12px;
    }
}

/* Educational Content */
.calculator-info {
    padding: 40px 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.calculator-info h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.calculator-info h3 {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.calculator-info h4 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.info-content {
    line-height: 1.8;
    color: var(--text-primary);
}

.info-content p {
    margin-bottom: 20px;
}

.info-content ul,
.info-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.info-content li {
    margin-bottom: 10px;
}

.formula-box {
    background: var(--bg-white);
    border-left: 4px solid var(--profit-color);
    padding: 25px;
    margin: 25px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.formula {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 15px 0;
    font-family: 'Courier New', monospace;
}

.formula-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 10px 0 0 0;
}

.factors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}

.factor-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--profit-color);
}

.factor-card h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
}

.factor-card p {
    margin: 0;
    color: var(--text-secondary);
}

/* FAQ Section */
.calculator-faq {
    padding: 40px 20px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.calculator-faq h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: var(--success-light);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--profit-color);
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
}

.faq-question {
    padding: 22px 50px 22px 24px;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    user-select: none;
}

.faq-question:hover {
    color: var(--profit-color);
    background: var(--bg-light);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 300;
    color: var(--profit-color);
    transition: var(--transition);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    background: var(--profit-color);
    color: white;
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 15px;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* Related Tools */
.related-tools {
    padding: 40px 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.related-tools h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tool-card-link {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    cursor: not-allowed;
    opacity: 0.7;
    text-decoration: none;
    display: block;
}

.tool-card-link.active-link {
    cursor: pointer;
    opacity: 1;
    border-color: var(--profit-color);
}

.tool-card-link.active-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #059669;
}

.tool-card-link h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: var(--text-primary);
}

.tool-card-link p {
    margin: 0 0 15px 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.coming-soon {
    display: inline-block;
    padding: 6px 12px;
    background: var(--warning-color);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.available-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--success-color);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Tablet and up */
@media (min-width: 768px) {
    .calculator-hero {
        padding: 60px 40px;
    }

    .calculator-hero h1 {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .calculator-hero .lead {
        font-size: 19px;
    }

    .calculator-container {
        display: grid;
        grid-template-columns: 28% 1fr;
        gap: 35px;
    }
    
    .calculator-inputs {
        padding: 32px;
    }
    
    .calculator-results {
        padding: 32px;
    }

    .results-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .factors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop and up */
@media (min-width: 1024px) {
    .calculator-page {
        padding: 40px;
    }

    .calculator-container {
        display: grid;
        grid-template-columns: 30% 1fr;
        gap: 40px;
    }

    .calculator-inputs {
        padding: 36px;
        position: sticky;
        top: 90px;
        align-self: start;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--profit-color) var(--bg-light);
    }
    
    .calculator-inputs::-webkit-scrollbar {
        width: 6px;
    }
    
    .calculator-inputs::-webkit-scrollbar-track {
        background: var(--bg-light);
        border-radius: 3px;
    }
    
    .calculator-inputs::-webkit-scrollbar-thumb {
        background: var(--profit-color);
        border-radius: 3px;
    }
    
    .calculator-inputs::-webkit-scrollbar-thumb:hover {
        background: #059669;
    }
    
    .calculator-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
    }

    .factors-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print styles */
@media print {
    .calculator-inputs,
    .calculator-actions,
    .related-tools {
        display: none;
    }

    .calculator-results {
        box-shadow: none;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .calculator-input,
    .result-card,
    .faq-item {
        border-width: 3px;
    }
}
