/* Tax & Austria Specific Ratgeber Styles */

/* Comparison Grid - Reusing component styles */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.comparison-card.featured {
    border-color: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.comparison-card h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.comparison-card.featured h3 {
    color: #166534;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.comparison-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
    position: relative;
    padding-left: 2rem;
}

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

.comparison-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #f3f4f6;
}

.comparison-card:not(.featured) li::before {
    background: #fca5a5;
}

.comparison-card.featured li::before {
    background: #bbf7d0;
}

.comparison-card.featured li {
    color: #166534;
    font-weight: 500;
}

/* ETF List Styling */
.etf-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.etf-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.etf-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.etf-item h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.etf-item .etf-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.etf-item .etf-details span {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.etf-item p {
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

/* Tax Explanation Components */
.tax-explanation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tax-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.tax-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.tax-card h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tax-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tax-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.tax-item span {
    color: #4b5563;
    font-size: 0.875rem;
}

.tax-item strong {
    color: #1f2937;
    font-weight: 700;
    font-size: 1rem;
}

/* Tax Example Calculation */
.tax-example {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 2px solid #bfdbfe;
    border-radius: 12px;
    padding: 2rem;
}

.tax-example h3 {
    color: #1d4ed8;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.example-calculation {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.calc-row.total {
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
    border-color: #10b981;
    border-width: 2px;
}

.calc-row span {
    color: #4b5563;
}

.calc-row strong {
    color: #10b981;
    font-weight: 700;
    font-size: 1.125rem;
}

.calc-note {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    color: #166534;
    font-weight: 500;
    margin-bottom: 0;
}

/* CTA Box for Austria Page */
.cta-box {
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.cta-box h3 {
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.cta-box p {
    color: #78350f;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    background: #2563eb;
    color: white;
}

/* Security Grid for Broker Selection */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.security-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.security-card:hover {
    border-color: #10b981;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.security-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.regulator-info, .deposit-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.regulator-info span, .deposit-info span {
    font-size: 0.875rem;
    color: #4b5563;
}

.regulator-info strong, .deposit-info strong {
    color: #1f2937;
    font-weight: 600;
}

.security-features ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.security-features li {
    color: #4b5563;
    padding: 0.375rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.security-features li::before {
    content: "✅";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Austria Flag Enhancement */
.ratgeber-hero h1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Support Channels */
.support-channels {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
    margin-top: 2rem;
}

.support-channel {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.support-channel:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

.support-channel h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.channel-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.availability, .response-times {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.availability span, .response-times span {
    font-size: 0.875rem;
    color: #4b5563;
}

.availability strong, .response-times strong {
    color: #1f2937;
    font-weight: 600;
}

.education-features ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.education-features li {
    color: #4b5563;
    padding: 0.375rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.education-features li::before {
    content: attr(data-icon);
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.education-features li:not([data-icon])::before {
    content: "📚";
}

/* Responsive Design */
@media (max-width: 768px) {
    .tax-explanation {
        grid-template-columns: 1fr;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .support-channels {
        grid-template-columns: 1fr;
    }
    
    .tax-card {
        padding: 1.5rem;
    }
    
    .tax-example {
        padding: 1.5rem;
    }
    
    .calc-row {
        padding: 0.5rem 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .ratgeber-hero h1 {
        font-size: 1.75rem;
        justify-content: center;
        text-align: center;
    }
} 