/* tax-specific.css - Skatt-spesifikk styling */

/* Skatt-specifik gradient (rød/grå for skatt/økonomi-tema) */
body {
    background: linear-gradient(135deg, #dc2626 0%, #7f1d1d 25%, #374151 50%, #6b7280 75%, #9ca3af 100%);
}

.calculator-card {
    border: 2px solid rgba(220, 38, 38, 0.3);
    grid-column: 2;
}

@media (max-width: 1024px) {
    .calculator-card {
        grid-column: 1;
        order: 2;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 20px;
}

@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.ad-space {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: #666;
    font-size: 14px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ad-left {
    grid-column: 1;
    grid-row: 1;
}

.ad-right {
    grid-column: 3;
    grid-row: 1;
}

@media (max-width: 1024px) {
    .ad-left {
        grid-column: 1;
        order: 1;
        min-height: 100px;
    }
    
    .ad-right {
        grid-column: 1;
        order: 3;
        min-height: 100px;
    }
}

@media (max-width: 768px) {
    .ad-right {
        display: none;
    }
    
    .top-ad, .bottom-ad {
        min-height: 90px;
    }
}

.top-ad, .bottom-ad {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: #666;
    font-size: 14px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.bottom-ad {
    margin-top: 20px;
    margin-bottom: 0;
}

/* Skatt-spesifikke resultat-bokser */
.results {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 5px solid #dc2626;
}

.breakdown {
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.breakdown h3 {
    color: #b91c1c;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.tax-bracket {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(220, 38, 38, 0.05);
}

.tax-bracket:last-child {
    border-bottom: none;
}

.wealth-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    color: #d97706;
}

/* Skatt-spesifikke høydepunkter */
.calculate-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.calculate-btn:hover {
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.4);
}

input[type="number"]:focus, select:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.info-note {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Spesielle skatt-elementer */
.tax-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.tax-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #dc2626;
    text-align: center;
}

.tax-icon {
    font-size: 2em;
    margin-bottom: 10px;
    display: block;
}