/* ===== RECHNER STYLES ===== */

/* ===== NAVIGATION OVERRIDES (NUR FÜR RECHNER-SEITEN) ===== */
body.rechner-page .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.rechner-page .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ===== TRANSPARENTE ELEMENTE NUR FÜR RECHNER-SEITEN ===== */
body.rechner-page .calculator-card {
    background: transparent;
    box-shadow: none;
}

/* Tab-Navigation bleibt sichtbar */
body.rechner-page .tab-navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


/* ===== NAVIGATION OVERRIDES ===== */
.nav-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: #4f46e5;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #4338ca;
}

.breadcrumb-current {
    color: #2d3748;
    font-weight: 600;
}

.back-btn {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.back-btn:hover {
    background: rgba(79, 70, 229, 0.2);
    transform: translateY(-1px);
}

/* ===== NAVBAR SCROLL EFFECT ===== */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ===== HEALTH THEME ===== */
.health-theme {
    background: linear-gradient(135deg, #f44336 0%, #e91e63 100%) !important;
}

.health-theme .hero-badge {
    background: rgba(255, 255, 255, 0.2);
}

.health-theme .feature-tag {
    background: rgba(255, 255, 255, 0.15);
}

/* Health Calculator Tab Colors */
.health-page .tab-btn.active {
    background: #f44336 !important;
    color: white !important;
}

.health-page .tab-btn:hover {
    background: rgba(244, 67, 54, 0.1) !important;
}

/* HEALTH THEME STATS ENTFERNT */

/* ===== POOL THEME ===== */
.pool-theme {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%) !important;
}

.pool-theme .hero-badge {
    background: rgba(255, 255, 255, 0.2);
}

.pool-theme .feature-tag {
    background: rgba(255, 255, 255, 0.15);
}

/* POOL THEME STATS ENTFERNT */

/* ===== CURRENCY THEME ===== */
.currency-theme {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.currency-theme .hero-badge {
    background: rgba(255, 255, 255, 0.2);
}

.currency-theme .feature-tag {
    background: rgba(255, 255, 255, 0.15);
}

/* CURRENCY THEME STATS ENTFERNT */

/* ===== HEALTH CALCULATOR CONTAINER ===== */
.health-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== POOL CALCULATOR CONTAINER ===== */
.pool-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== CURRENCY CALCULATOR CONTAINER ===== */
.currency-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== CURRENCY CONVERTER ===== */
.currency-converter {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.converter-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.currency-input-section h3 {
    color: #f59e0b;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.currency-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.amount-input {
    flex: 1;
}

.amount-input input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.amount-input input:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.currency-select {
    flex: 1;
}

.currency-select select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    background: white;
    transition: all 0.3s ease;
}

.currency-select select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.currency-flag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
}

.flag-emoji {
    font-size: 1.5rem;
}

.currency-name {
    font-weight: 500;
    color: #374151;
}

.swap-section {
    display: flex;
    justify-content: center;
}

/* ===== EXCHANGE RATE INFO ===== */
.exchange-rate-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    border: 1px solid #f59e0b;
}

.rate-display {
    flex: 1;
}

.rate-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.rate-main span:first-child {
    font-size: 1.2rem;
    font-weight: 700;
    color: #92400e;
}

.rate-change {
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.rate-details {
    font-size: 0.9rem;
    color: #78716c;
}

.rate-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== POPULAR PAIRS ===== */
.popular-pairs {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.popular-pairs h3 {
    color: #f59e0b;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ===== CURRENCY CHART ===== */
.currency-chart {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.currency-chart h3 {
    color: #f59e0b;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.chart-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.chart-pair-selector select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 500;
    background: white;
    min-width: 150px;
}

.chart-pair-selector select:focus {
    outline: none;
    border-color: #f59e0b;
}

.chart-timeframe {
    display: flex;
    gap: 0.5rem;
}

.timeframe-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.timeframe-btn:hover {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.timeframe-btn.active {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
}

.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 1.5rem;
}

.chart-info {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.chart-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f59e0b;
}

/* ===== QUICK CONVERT ===== */
.quick-convert {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.quick-convert h3 {
    color: #f59e0b;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .converter-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .currency-input-group {
        flex-direction: column;
    }
    
    .exchange-rate-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .currency-converter {
        padding: 1.5rem;
    }
    
    .popular-pairs,
    .currency-chart,
    .quick-convert {
        padding: 1.5rem;
    }
    
    .chart-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .chart-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .chart-container {
        height: 250px;
    }
}

/* ===== TAB NAVIGATION ===== */
.tab-navigation {
    display: flex;
    background: white;
    border-radius: 16px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover {
    background: rgba(121, 85, 72, 0.1);
    color: #795548;
    border-color: rgba(121, 85, 72, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tab-btn.active {
    background: linear-gradient(135deg, #795548, #8d6e63);
    color: white;
    border-color: #795548;
    box-shadow: 0 4px 15px rgba(121, 85, 72, 0.4);
    transform: translateY(-1px);
}

/* Pool theme tab buttons */
.pool-calculator-container .tab-btn:hover {
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
}

.pool-calculator-container .tab-btn.active {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.tab-btn i {
    font-size: 1.1rem;
}

/* ===== TAB CONTENT ===== */
.tab-content-container {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== CALCULATOR GRID ===== */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: none !important; /* Überschreibt die Neigung aus styles.css */
}

/* ===== INPUT SECTION ===== */
.input-section h3 {
    color: #f44336;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    z-index: 1;
}

.input-with-unit input {
    width: auto !important;
    flex: 1;
    min-width: 0;
}

.input-with-unit select {
    width: auto !important;
    flex: none;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

/* Pool theme input focus */
.pool-calculator-container .input-group input:focus,
.pool-calculator-container .input-group select:focus {
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.calculate-btn {
    width: 100%;
    background: linear-gradient(135deg, #f44336, #e91e63);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

/* Pool theme calculate buttons */
.pool-calculator-container .calculate-btn {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.pool-calculator-container .calculate-btn:hover {
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
}

/* ===== RESULT SECTION ===== */
.result-section {
    display: flex;
    align-items: center;
}

.result-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border-left: 4px solid #f44336;
    width: 100%;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f44336, #e91e63);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}

.result-card h4 {
    color: #374151;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f44336;
    margin-bottom: 0.5rem;
}

.result-category {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.result-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== CALORIES BREAKDOWN ===== */
.calories-breakdown,
.ideal-weight-breakdown,
.water-breakdown {
    margin-bottom: 1.5rem;
}

.calorie-item,
.weight-method,
.water-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.calorie-label,
.method-label,
.water-label {
    font-weight: 500;
    color: #374151;
}

.calorie-value,
.weight-value,
.water-value {
    font-weight: 600;
    color: #f44336;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .tab-navigation {
        padding: 0.3rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .result-value {
        font-size: 2rem;
    }
    
    .result-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .calculator-grid {
        padding: 1rem;
    }
    
    .input-section h3 {
        font-size: 1.3rem;
    }
    
    .result-value {
        font-size: 1.8rem;
    }
}

/* ===== TOOLTIPS ===== */
.info-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
    cursor: help;
}

.info-tooltip i {
    color: #6b7280;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.info-tooltip:hover i {
    color: #f44336;
}

.info-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: normal;
    width: 280px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.info-tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.info-tooltip:hover::before,
.info-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* BMI Categories Styling */
.bmi-categories {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.bmi-categories h4 {
    color: #f44336;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.bmi-categories ul {
    margin: 0;
    padding-left: 1rem;
}

.bmi-categories li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

/* Mobile Tooltip Adjustments */
@media (max-width: 768px) {
    .info-tooltip::before {
        width: 220px;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    .info-tooltip::after {
        border-width: 5px;
    }
}

/* ===== HERO HEADER SECTION ===== */
.calculator-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.calculator-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.feature-tag i {
    color: #ffffff;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

/* HERO STATS ENTFERNT - NICHT MEHR VERWENDEN */

/* ===== SECTION INTRO ===== */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-intro h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-intro p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
}

/* ===== CALCULATOR SECTION ===== */
.calculator-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: auto;
}

.calculator-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.calculator-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.calculator-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.calculator-info p {
    font-size: 1.2rem;
    color: #718096;
}

/* ===== CALCULATOR CONTAINER ===== */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== CALCULATOR ===== */
.calculator {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== DISPLAY ===== */
.calculator-display {
    background: #2d3748;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.display-history {
    color: #a0aec0;
    font-size: 1rem;
    min-height: 1.5rem;
    text-align: right;
    opacity: 0.8;
}

.display-current {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
    line-height: 1.2;
}

/* ===== BUTTONS ===== */
.calculator-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn {
    height: 60px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: scale(0.95);
}

/* Button Types */
.btn-number {
    background: #ffffff;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-number:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-operator {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-operator:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-function {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.btn-function:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}

.btn-equals {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-equals:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* ===== ADVANCED FUNCTIONS ===== */
.advanced-functions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.btn-advanced {
    height: 50px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.pool-badge {
    background: linear-gradient(45deg, #00bcd4, #0097a7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    right: 1rem;
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.3);
}

.architect-badge {
    background: linear-gradient(45deg, #795548, #5d4037);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    right: 1rem;
    box-shadow: 0 2px 8px rgba(121, 85, 72, 0.3);
}

.btn-advanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* ===== SIDEBAR ===== */
.calculator-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.feature-card h3 i {
    color: #4caf50;
}

/* ===== HISTORY ===== */
.history-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.history-item {
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background: #f8fafc;
    border-left: 3px solid #4caf50;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.no-history {
    color: #a0aec0;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

.btn-clear-history {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-clear-history:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* ===== SHORTCUTS ===== */
.shortcuts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shortcut {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 6px;
}

.shortcut kbd {
    background: #2d3748;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.shortcut span {
    font-size: 0.85rem;
    color: #4a5568;
}

/* ===== SEO CONTENT SECTION ===== */
.seo-content {
    padding: 80px 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    border-left: 4px solid #4caf50;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-card h3 {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-card h3::before {
    content: '📋';
    font-size: 1.2rem;
}

.content-card p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 0;
}

.content-card ul {
    list-style: none;
    padding: 0;
}

.content-card ul li {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.content-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.1rem;
}

.content-card strong {
    color: #2d3748;
    font-weight: 600;
}

/* ===== RELATED CALCULATORS ===== */
.related-calculators {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.related-calculators h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.related-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.related-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #2d3748;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}

.related-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-item p {
    color: #718096;
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.calculator-footer {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    padding: 40px 0;
}

.calculator-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.calculator-footer h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.calculator-footer ul {
    list-style: none;
}

.calculator-footer ul li {
    margin-bottom: 0.5rem;
}

.calculator-footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.calculator-footer ul li a:hover {
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .calculator-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .calculator-info h1 {
        font-size: 2rem;
    }

    .calculator-info p {
        font-size: 1rem;
    }

    .calculator {
        padding: 1.5rem;
    }

    .calculator-buttons {
        gap: 0.8rem;
    }

    .btn {
        height: 50px;
        font-size: 1rem;
    }

    .display-current {
        font-size: 2rem;
    }

    .advanced-functions {
        gap: 0.8rem;
    }

    .btn-advanced {
        height: 45px;
        font-size: 0.9rem;
    }

    .nav-breadcrumb {
        display: none;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    /* Hero responsive */
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        gap: 0.8rem;
    }

    .feature-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    /* RESPONSIVE STATS ENTFERNT */

    /* Content grid responsive */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .calculator-section {
        padding: 80px 0 40px;
    }

    .calculator {
        padding: 1rem;
    }

    .calculator-buttons {
        gap: 0.5rem;
    }

    .btn {
        height: 45px;
        font-size: 0.9rem;
    }

    .display-current {
        font-size: 1.8rem;
    }

    .advanced-functions {
        gap: 0.5rem;
    }

    .btn-advanced {
        height: 40px;
        font-size: 0.8rem;
    }

    /* Mobile hero adjustments */
    .calculator-hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    /* MOBILE STATS ENTFERNT */

    /* Mobile content adjustments */
    .content-card {
        padding: 1.2rem;
    }

    .content-card h3 {
        font-size: 1.1rem;
    }
}

/* ===== TIME THEME ===== */
.time-theme {
    background: linear-gradient(135deg, #795548 0%, #8d6e63 100%) !important;
}

.time-theme .hero-badge {
    background: rgba(255, 255, 255, 0.2);
}

.time-theme .feature-tag {
    background: rgba(255, 255, 255, 0.15);
}

/* TIME THEME STATS ENTFERNT */

/* ===== MORTGAGE THEME ===== */
.mortgage-theme {
    background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%) !important;
}

.mortgage-theme .hero-badge {
    background: rgba(255, 255, 255, 0.2);
}

.mortgage-theme .feature-tag {
    background: rgba(255, 255, 255, 0.15);
}

/* ===== MORTGAGE CALCULATOR CONTAINER ===== */
.mortgage-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== MORTGAGE CALCULATOR STYLES ===== */
.mortgage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.mortgage-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 8px;
    border-left: 4px solid #2e7d32;
}

.summary-item.highlight {
    background: rgba(46, 125, 50, 0.2);
    border-left-color: #1b5e20;
    font-weight: 600;
}

.summary-label {
    font-weight: 500;
    color: #2e7d32;
}

.summary-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1b5e20;
}

/* ===== MORTGAGE THEME TAB BUTTONS ===== */
.mortgage-calculator-container .tab-btn:hover {
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
    border-color: rgba(46, 125, 50, 0.3);
}

.mortgage-calculator-container .tab-btn.active {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    color: white;
    border-color: #2e7d32;
}

/* ===== CALCULATION MODE STYLES ===== */
.calculation-mode {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(46, 125, 50, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.calculation-mode h4 {
    margin-bottom: 1rem;
    color: #2e7d32;
    font-size: 1rem;
}

.mode-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mode-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mode-option:hover {
    background: rgba(46, 125, 50, 0.1);
}

.mode-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #2e7d32;
}

.mode-option span {
    font-weight: 500;
    color: #2e7d32;
}

@media (max-width: 768px) {
    .mode-selector {
        gap: 0.5rem;
    }
    
    .mode-option {
        padding: 0.5rem;
    }
}

/* ===== ADVANCED MORTGAGE STYLES ===== */
.advanced-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.cost-breakdown {
    background: rgba(46, 125, 50, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

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

.cost-item.highlight {
    font-weight: 600;
    color: #1b5e20;
}

.cost-label {
    color: #2e7d32;
}

.cost-value {
    font-weight: 600;
}

.advanced-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ===== SCHEDULE STYLES ===== */
.schedule-controls {
    margin-bottom: 2rem;
}

.schedule-options {
    display: flex;
    align-items: end;
    gap: 1rem;
    flex-wrap: wrap;
}

.schedule-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 8px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1b5e20;
}

.schedule-table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.schedule-table th {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    text-align: right;
}

.schedule-table td:first-child {
    text-align: center;
    font-weight: 600;
}

.schedule-table tr:hover {
    background: rgba(46, 125, 50, 0.05);
}

.export-btn {
    background: linear-gradient(135deg, #388e3c, #4caf50);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* ===== COMPARISON STYLES ===== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.offer-column {
    background: rgba(46, 125, 50, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.offer-column:hover {
    border-color: rgba(46, 125, 50, 0.2);
    transform: translateY(-2px);
}

.offer-column h4 {
    color: #2e7d32;
    margin-bottom: 1.5rem;
    text-align: center;
}

.offer-result {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(46, 125, 50, 0.1);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.result-item span:last-child {
    font-weight: 600;
    color: #1b5e20;
}

.comparison-controls {
    text-align: center;
    margin: 2rem 0;
}

.comparison-result {
    background: rgba(46, 125, 50, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.winner-announcement {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #1b5e20;
}

.comparison-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.comparison-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.comparison-label {
    color: #2e7d32;
    font-weight: 500;
}

.comparison-value {
    font-weight: 600;
    color: #1b5e20;
}

/* ===== RESPONSIVE MORTGAGE STYLES ===== */
@media (max-width: 768px) {
    .mortgage-grid,
    .advanced-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .advanced-summary {
        grid-template-columns: 1fr;
    }
    
    .schedule-stats {
        grid-template-columns: 1fr;
    }
    
    .schedule-options {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===== INFO SECTION STYLES ===== */
.info-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(46, 125, 50, 0.2);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: white;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-card h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

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

.info-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    line-height: 1.6;
    color: #374151;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li strong {
    color: #2e7d32;
    font-weight: 600;
}

/* ===== MORTGAGE INFO SECTION STYLES ===== */
.mortgage-stats {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    border-radius: 16px;
    color: white;
}

.mortgage-stats h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e8f5e8;
}

.stat-desc {
    font-size: 0.9rem;
    color: #c8e6c9;
    line-height: 1.4;
}

.mortgage-checklist {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(46, 125, 50, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.mortgage-checklist h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2e7d32;
    font-size: 1.5rem;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.checklist-column h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(46, 125, 50, 0.2);
    padding-bottom: 0.5rem;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    position: relative;
    padding-left: 2rem;
    color: #2e7d32;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.1rem;
}

.checklist li:last-child {
    border-bottom: none;
}

/* ===== RESPONSIVE MORTGAGE INFO STYLES ===== */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-box {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mortgage-stats,
    .mortgage-checklist {
        padding: 1.5rem;
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TAB PLACEHOLDERS ===== */
.schedule-placeholder,
.comparison-placeholder,
.advanced-placeholder {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.schedule-placeholder h4,
.comparison-placeholder h4,
.advanced-placeholder h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.schedule-placeholder p,
.comparison-placeholder p,
.advanced-placeholder p {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.feature-coming-soon i {
    font-size: 1rem;
}

/* ===== WORLD TIMEZONE SECTION ===== */
.world-timezone-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.world-timezone-section h2 {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    font-size: 2rem;
}


/* Timezone Visualization Bar */
.timezone-bar {
    margin-top: 2rem;
}

.timezone-strip {
    display: flex;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.timezone-segment {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.timezone-segment:hover {
    transform: scale(1.05);
    z-index: 2;
}

.timezone-segment span {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.timezone-segment small {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Timezone Colors */
.utc-minus-10 { background: linear-gradient(135deg, #1a237e, #3949ab); }
.utc-minus-8 { background: linear-gradient(135deg, #4a148c, #7b1fa2); }
.utc-minus-5 { background: linear-gradient(135deg, #b71c1c, #d32f2f); }
.utc-0 { background: linear-gradient(135deg, #e65100, #ff9800); }
.utc-plus-1 { background: linear-gradient(135deg, #2e7d32, #4caf50); }
.utc-plus-4 { background: linear-gradient(135deg, #00695c, #009688); }
.utc-plus-9 { background: linear-gradient(135deg, #1565c0, #2196f3); }
.utc-plus-10 { background: linear-gradient(135deg, #4527a0, #673ab7); }

.timezone-segment.current {
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* ===== UNITS CALCULATOR STYLES ===== */
.units-theme {
    background: linear-gradient(135deg, #e65100 0%, #ff9800 100%);
}

/* Units Calculator Tab Colors */
.units-page .tab-btn.active {
    background: #ff9800 !important;
    color: white !important;
}

.units-page .tab-btn:hover {
    background: rgba(255, 152, 0, 0.1) !important;
}

/* Hide all calculator cards by default - ONLY for units page */
.units-page .calculator-card {
    display: none;
}

/* Show only the active calculator card - ONLY for units page */
.units-page .calculator-card.active {
    display: block;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: end;
    margin: 2rem 0;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.input-group input,
.input-group select {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #ff9800;
}

.input-group select {
    background: white;
    cursor: pointer;
}

.swap-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.swap-btn:hover {
    background: #f57c00;
    transform: rotate(180deg);
}

.quick-convert {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.quick-convert h4 {
    margin-bottom: 1rem;
    color: #333;
}

.quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-buttons button {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-buttons button:hover {
    background: #ff9800;
    color: white;
    border-color: #ff9800;
}

/* ===== RESPONSIVE UNITS ===== */
@media (max-width: 768px) {
    .input-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .swap-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        align-self: center;
    }
    
    .quick-buttons {
        justify-content: center;
    }
}

/* ===== SCIENCE CALCULATOR STYLES ===== */
.science-theme {
    background: linear-gradient(135deg, #1565c0 0%, #2196f3 100%);
}

/* Science Calculator Tab Colors */
.science-page .tab-btn.active {
    background: #2196f3 !important;
    color: white !important;
}

.science-page .tab-btn:hover {
    background: rgba(33, 150, 243, 0.1) !important;
}

/* Hide all calculator cards by default - ONLY for science page */
.science-page .calculator-card {
    display: none;
}

/* Show only the active calculator card - ONLY for science page */
.science-page .calculator-card.active {
    display: block;
}

.angle-mode {
    margin-bottom: 1.5rem;
}

.angle-mode label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.mode-buttons {
    display: flex;
    gap: 0.5rem;
}

.mode-btn {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.science-page .mode-btn.active {
    background: #2196f3 !important;
    color: white !important;
    border-color: #2196f3 !important;
}

.science-page .mode-btn:hover {
    background: #e3f2fd !important;
    border-color: #2196f3 !important;
}

.function-grid {
    margin: 2rem 0;
}

.function-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.calc-btn {
    padding: 0.75rem;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.calc-btn:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.result-display {
    margin: 2rem 0;
}

.result-display label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.result-display input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9f9f9;
    color: #333;
    font-weight: 500;
}

.power-symbol,
.root-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #2196f3;
}

.calculate-btn {
    width: 100%;
    padding: 1rem;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.calculate-btn:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

.calculate-btn i {
    margin-right: 0.5rem;
}

/* ===== RESPONSIVE SCIENCE ===== */
@media (max-width: 768px) {
    .function-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mode-buttons {
        flex-direction: column;
    }
    
    .calc-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .power-symbol,
    .root-symbol {
        font-size: 1.5rem;
    }
}


/* ===== DAILY CALCULATOR STYLES ===== */
.daily-theme {
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
}

/* Daily Calculator Tab Colors */
.daily-page .tab-btn.active {
    background: #ff9800 !important;
    color: white !important;
}

.daily-page .tab-btn:hover {
    background: rgba(255, 152, 0, 0.1) !important;
}

/* Hide all calculator cards by default - ONLY for daily page */
.daily-page .calculator-card {
    display: none;
}

/* Show only the active calculator card - ONLY for daily page */
.daily-page .calculator-card.active {
    display: block;
}

.currency {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: 500;
    pointer-events: none;
    z-index: 10;
    background: white;
    padding: 0 0.25rem;
}

.input-group {
    position: relative;
}

.daily-page .input-group input {
    padding-right: 3rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-item label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.result-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.result-value.total {
    color: #ff9800;
    font-size: 1.4rem;
}

.result-value.savings {
    color: #4caf50;
}

/* Shopping Calculator Styles */
.shopping-items h4 {
    margin-bottom: 1rem;
    color: #333;
}

.item-input {
    display: grid;
    grid-template-columns: 2fr 1fr 80px 120px;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: end;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-field label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.item-input input {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.item-input input:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
    transform: translateY(-1px);
}

.item-input input::placeholder {
    color: #999;
    font-style: italic;
}

.add-btn {
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.2);
}

.add-btn:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.add-btn:active {
    transform: translateY(0);
}

.btn-text {
    display: none;
}

.shopping-list {
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    margin: 2rem 0;
    overflow: hidden;
}

.list-header {
    display: grid;
    grid-template-columns: 2fr 1fr 80px 1fr 50px;
    gap: 1rem;
    padding: 1rem;
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}

.list-item {
    display: grid;
    grid-template-columns: 2fr 1fr 80px 1fr 50px;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

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

.item-name {
    font-weight: 500;
    color: #333;
}

.item-price,
.item-total {
    font-weight: 600;
    color: #ff9800;
}

.item-quantity {
    text-align: center;
    font-weight: 500;
}

.remove-btn {
    background: #f44336;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

.empty-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #999;
}

.empty-list i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.shopping-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.clear-btn {
    background: #f44336;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.clear-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE DAILY ===== */
@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .item-input {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .item-input input {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .btn-text {
        display: inline;
    }
    
    .add-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .list-header,
    .list-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .list-header {
        display: none;
    }
    
    .list-item {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        text-align: left;
    }
    
    .list-item::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        font-size: 0.8rem;
        text-transform: uppercase;
        margin-bottom: 0.25rem;
    }
}

/* ===== INVESTMENT CALCULATOR STYLES ===== */
.investment-theme {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

/* Investment Calculator Tab Colors */
.investment-page .tab-btn.active {
    background: #4caf50 !important;
    color: white !important;
}

.investment-page .tab-btn:hover {
    background: rgba(76, 175, 80, 0.1) !important;
}

/* Hide all calculator cards by default - ONLY for investment page */
.investment-page .calculator-card {
    display: none;
}

/* Show only the active calculator card - ONLY for investment page */
.investment-page .calculator-card.active {
    display: block;
}

.result-value.profit {
    color: #4caf50;
}

.roi-scale {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.scale-item {
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.scale-item.poor {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.scale-item.average {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ff9800;
}

.scale-item.good {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.scale-item.excellent {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #2196f3;
}

/* ===== RESPONSIVE INVESTMENT ===== */
@media (max-width: 768px) {
    .roi-scale {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .scale-item {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* ===== FINANCE CALCULATOR STYLES ===== */
.finance-theme {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

/* Finance Calculator Tab Colors */
.finance-page .tab-btn.active {
    background: #1976d2 !important;
    color: white !important;
}

.finance-page .tab-btn:hover {
    background: rgba(25, 118, 210, 0.1) !important;
}

/* Hide all calculator cards by default - ONLY for finance page */
.finance-page .calculator-card {
    display: none;
}

/* Show only the active calculator card - ONLY for finance page */
.finance-page .calculator-card.active {
    display: block;
}

.result-value.cost {
    color: #f44336;
}

.tilgung-chart {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.tilgung-chart h4 {
    margin-bottom: 1rem;
    color: #333;
}

.chart-container {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-placeholder {
    text-align: center;
    color: #999;
}

.chart-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.simple-chart {
    display: flex;
    align-items: end;
    justify-content: space-around;
    height: 150px;
    padding: 1rem 0;
}

.chart-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.chart-bar {
    width: 30px;
    margin: 2px;
    border-radius: 4px 4px 0 0;
}

.chart-bar.principal {
    background: #4caf50;
}

.chart-bar.balance {
    background: #f44336;
}

.chart-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

/* Enhanced Input Styling for Finance Calculator */
.calculator-intro {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 12px;
    border-left: 4px solid #1976d2;
}

.intro-icon {
    font-size: 2rem;
    color: #1976d2;
    min-width: 60px;
    text-align: center;
}

.intro-text h4 {
    margin: 0 0 0.5rem 0;
    color: #1976d2;
    font-size: 1.1rem;
}

.intro-text p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-field {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.input-field:hover {
    border-color: #1976d2;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.1);
}

.input-field label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.input-field label i {
    color: #1976d2;
    width: 20px;
    text-align: center;
}

.field-hint {
    display: block;
    font-size: 0.8rem;
    color: #999;
    font-weight: 400;
    margin-top: 0.25rem;
}

.input-slider {
    margin-top: 1rem;
}

.input-slider input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
}

.input-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1976d2;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.input-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1976d2;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.styled-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.styled-select:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.enhanced-results {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid #e0e0e0;
}

.enhanced-results h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1976d2;
    font-size: 1.3rem;
}

.result-highlight {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.result-highlight .main-result {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 0.5rem;
}

.result-highlight .result-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.comparison-table {
    margin-top: 2rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: #1976d2;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* ===== RESPONSIVE FINANCE ===== */
@media (max-width: 768px) {
    .tilgung-chart {
        padding: 1rem;
    }
    
    .simple-chart {
        height: 120px;
    }
    
    .chart-bar {
        width: 20px;
    }
    
    .chart-label {
        font-size: 0.7rem;
    }
    
    .calculator-intro {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .intro-icon {
        min-width: auto;
        margin-bottom: 0.5rem;
    }
    
    .input-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .input-field {
        padding: 1rem;
    }
    
    .result-highlight .main-result {
        font-size: 2rem;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-table table {
        min-width: 500px;
    }
}

/* ===== ARCHITECT CALCULATOR STYLES ===== */
.architect-theme {
    background: linear-gradient(135deg, #795548 0%, #5d4037 100%);
}

/* Architect Calculator Tab Colors */
.architect-page .tab-btn.active {
    background: #795548 !important;
    color: white !important;
}

.architect-page .tab-btn:hover {
    background: rgba(121, 85, 72, 0.1) !important;
}

/* Hide all calculator cards by default - ONLY for architect page */
.architect-page .calculator-card {
    display: none;
}

/* Show only the active calculator card - ONLY for architect page */
.architect-page .calculator-card.active {
    display: block;
}

/* Shape Selector Styles */
.shape-selector, .material-selector, .beam-selector, .roof-type-selector, .material-type-selector, .building-type-selector {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.shape-selector h4, .material-selector h4, .beam-selector h4 {
    margin-bottom: 1rem;
    color: #795548;
    font-size: 1.1rem;
}

.shape-buttons, .material-buttons, .beam-buttons, .roof-buttons, .building-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.shape-btn, .material-btn, .beam-btn, .volume-btn, .roof-btn, .building-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.shape-btn:hover, .material-btn:hover, .beam-btn:hover, .volume-btn:hover, .roof-btn:hover, .building-btn:hover {
    border-color: #795548;
    background: #f5f5f5;
}

.shape-btn.active, .material-btn.active, .beam-btn.active, .volume-btn.active, .roof-btn.active, .building-btn.active {
    border-color: #795548;
    background: #795548;
    color: white;
}

.shape-btn i, .material-btn i, .beam-btn i, .volume-btn i, .roof-btn i, .building-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.shape-btn span, .material-btn span, .beam-btn span, .volume-btn span, .roof-btn span, .building-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Architect specific result styling */
.architect-page .result-value.cost {
    color: #795548;
}

/* ===== ARCHITECT INFO SECTION ===== */
.architect-info {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.architect-info .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.architect-info .info-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.architect-info .info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(46, 125, 50, 0.2);
}

.architect-info .info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: white;
}

.architect-info .info-icon i {
    font-size: 1.5rem;
    color: white;
}

.architect-info .info-card h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.architect-info .info-card p {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    line-height: 1.6;
    color: #374151;
    margin-bottom: 0;
}

.architect-info .info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.architect-info .info-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    line-height: 1.6;
    color: #374151;
}

.architect-info .info-card li:last-child {
    border-bottom: none;
}

.architect-info .info-card li strong {
    color: #2e7d32;
    font-weight: 600;
}

/* ===== ARCHITECT CHECKLIST ===== */
.architect-checklist {
    padding: 4rem 0;
    background: white;
}

.architect-checklist .container .checklist-container {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(46, 125, 50, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.architect-checklist .section-header h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2e7d32;
    font-size: 1.5rem;
}

.architect-checklist .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 0;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.checklist-column h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(46, 125, 50, 0.2);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checklist-column h3 i {
    color: #2e7d32;
}

.checklist-items {
    list-style: none;
    padding: 0;
}

.checklist-items .checklist-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    position: relative;
    padding-left: 1.5rem;
    color: #2e7d32;
}

.checklist-items .checklist-item:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
    font-size: 1.1rem;
}

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

.checklist-items .checklist-item input[type="checkbox"] {
    display: none;
}

.checklist-items .checklist-item span {
    cursor: pointer;
}

/* ===== RESPONSIVE ARCHITECT ===== */
@media (max-width: 768px) {
    .shape-buttons, .material-buttons, .beam-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .shape-btn, .material-btn, .beam-btn, .volume-btn {
        padding: 0.75rem;
    }
    
    .shape-btn i, .material-btn i, .beam-btn i, .volume-btn i {
        font-size: 1.2rem;
    }
    
    .shape-btn span, .material-btn span, .beam-btn span, .volume-btn span {
        font-size: 0.8rem;
    }
    
    .architect-info .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .architect-info .info-card {
        padding: 1.5rem;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .checklist-column {
        padding: 1.5rem;
    }
}

/* ===== RESPONSIVE INFO SECTION ===== */
@media (max-width: 768px) {
    .info-section {
        padding: 2rem 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .info-icon i {
        font-size: 1.2rem;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .info-list li {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
}

/* ===== TIME CALCULATOR STYLES ===== */
.time-calculator-container {
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.age-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.age-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.age-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #795548;
}

.age-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.age-details {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.calc-mode-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: #f8f9fa;
    padding: 0.25rem;
    border-radius: 8px;
}

.mode-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mode-btn.active {
    background: #795548;
    color: white;
}

.calc-mode {
    display: none;
}

.calc-mode.active {
    display: block;
}

.date-diff-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.diff-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.diff-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #795548;
}

.diff-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.timezone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.timezone-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

.converted-time {
    font-size: 2rem;
    font-weight: 700;
    color: #795548;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.world-clock {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.clock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.world-clock-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.clock-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: #795548;
}

.worktime-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.work-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.work-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.work-value {
    font-weight: 700;
    color: #795548;
    font-size: 1.1rem;
}
