/* Refund Grid Styles */
.refund-grid__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 32px;
    /*background-color: #f8fafb;*/
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

.refund-grid__card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Removed hover effect to prevent movement */

.refund-grid__icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.refund-grid__icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

/* Removed hover effect on icons */

.refund-grid__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 32px;
}

.refund-grid__cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    /* Removed border-bottom */
}

/* Removed unnecessary style for last-child */

.refund-grid__cost-row--result {
    /* Removed all borders and backgrounds */
    margin-top: 16px;
    padding-top: 20px;
}

.refund-grid__cost-label {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

.refund-grid__cost-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
}

.refund-grid__cost-value--negative {
    color: #e53e3e;
}

.refund-grid__cost-value--positive {
    color: #38a169;
}

.refund-grid__cost-value--highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
}

.refund-grid__savings {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.refund-grid__savings-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.refund-grid__savings-value {
    font-size: 28px;
    font-weight: 800;
}

.refund-grid__with-insurance {
    /* Simple text display without background */
    padding: 12px 0;
    margin-top: 12px;
    text-align: center;
}

.refund-grid__with-insurance-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 400;
}

.refund-grid__with-insurance-value {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}

.refund-grid__benefit {
    background: #f0fdf4;
    color: #166534;
    border: none;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    text-align: center;
}

.refund-grid__benefit-text {
    color: #166534;
    font-weight: 600;
    font-size: 16px;
}

.refund-grid__euro {
    font-size: 0.9em;
    margin-left: 2px;
}

/* Eigenanteil Box Styling */
.refund-grid__eigenanteil-box {
    background: #f0fdf4;
    border: none;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    text-align: center;
    position: relative;
}

.refund-grid__eigenanteil-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.refund-grid__eigenanteil-icon {
    font-size: 24px;
}

.refund-grid__eigenanteil-label {
    font-size: 15px;
    color: #047857;
    font-weight: 600;
}

.refund-grid__eigenanteil-amount {
    font-size: 36px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 16px;
}

.refund-grid__savings-info {
    background: transparent;
    border-radius: 8px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refund-grid__savings-text {
    font-size: 14px;
    color: #065f46;
    font-weight: 500;
}

.refund-grid__savings-text strong {
    font-weight: 700;
    color: #047857;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .refund-grid__container {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }

    .refund-grid__card {
        padding: 12px;
    }

    .refund-grid__title {
        font-size: 14px;
    }
    
    .refund-grid__eigenanteil-box {
        padding: 16px;
        margin-top: 20px;
    }
    
    .refund-grid__eigenanteil-amount {
        font-size: 28px;
    }
    
    .refund-grid__eigenanteil-label {
        font-size: 13px;
    }
    
    .refund-grid__savings-text {
        font-size: 13px;
    }
}
