/* CSS van de fooi_calc */
.center-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 80px;
}

.calculator-card {
    transition: transform 0.2s;
    border: none;
    border-radius: 15px;
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.result-card {
    display: none;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-outline-danger {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.card {
    border: none;
    border-radius: 15px;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

h1 {
    color: #2c3e50;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.card-title {
    color: #495057;
    font-weight: 600;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.bg-light {
    background-color: #f8f9fa !important;
}

footer {
    margin-top: 50px;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .d-md-flex {
        flex-direction: column;
    }
    
    .me-md-2 {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    
    .calculator-card:hover {
        transform: none;
    }
    
    .btn-primary:hover, .btn-outline-danger:hover {
        transform: none;
    }
}

/* Animaties */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    animation: fadeIn 0.5s ease-out;
}

/* Hover effecten voor cards in resultaten */
.card.bg-light {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card.bg-light:hover {
    border-color: #0d6efd;
    transform: translateY(-3px);
}