/* Algemene stijlen */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
}

.container {
    max-width: 900px; /* Iets breder gemaakt */
    margin: 0 auto;
}

/* Logo styling */
.center-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 90px; /* Kleiner gemaakt */
    width: auto;
    transition: transform 0.3s ease;
}

.center-image:hover {
    transform: scale(1.05); /* Subtiele hover effect */
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

/* Koptekst */
h1 {
    color: #2c3e50;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Card styling */
.config-card, .file-upload-card, .status-card {
    transition: transform 0.2s;
    border: none;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.config-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.file-upload-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.status-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    display: none;
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-body {
    padding: 25px;
}

.card-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Formulier elementen - Breder textarea */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 14px;
    width: 100%; /* Zorgt dat het de volledige breedte gebruikt */
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Specifieke styling voor het textarea */
textarea.form-control {
    height: 120px;
    resize: vertical;
    min-width: 100%; /* Zorgt voor volledige breedte */
    box-sizing: border-box; /* Zorgt dat padding meegerekend wordt in de breedte */
}

/* Extra brede configuratie card */
.config-card .card-body {
    padding: 25px 30px; /* Meer padding aan de zijkanten */
}

.config-card textarea.form-control {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace; /* Betere leesbaarheid voor code */
    font-size: 13px;
    line-height: 1.4;
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 15px;
}

/* Knoppen */
.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #0d6efd;
    color: white;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-outline-danger {
    background-color: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-help {
    background-color: #6f42c1;
    color: white;
}

.btn-help:hover {
    background-color: #5a2d9c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.3);
}

.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Input groep */
.input-group {
    margin-bottom: 15px;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

/* Copyright */
.copyright {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #6c757d;
}

.text-decoration-none {
    text-decoration: none;
    color: inherit;
}

.text-decoration-none:hover {
    color: #0d6efd;
}

/* Animaties */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-card {
    animation: fadeIn 0.5s ease-out;
}

/* Hover effecten */
.config-card:hover, .file-upload-card:hover {
    border: 2px solid transparent;
}

.config-card:hover, .file-upload-card:hover {
    border-color: #0d6efd;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        max-width: 100%; /* Volledige breedte op mobiel */
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .calculator-card:hover {
        transform: none;
    }
    
    .btn-primary:hover, .btn-outline-danger:hover, .btn-help:hover {
        transform: none;
    }
    
    .card-body {
        padding: 20px 15px;
    }
    
    /* Op mobiel nog breder textarea */
    textarea.form-control {
        height: 100px; /* Iets korter op mobiel */
    }
    
    /* Logo kleiner op mobiel */
    .center-image {
        max-height: 50px;
    }
}

/* Extra brede schermen */
@media (min-width: 1200px) {
    .container {
        max-width: 1000px; /* Nog breder op grote schermen */
    }
    
    .config-card .card-body {
        padding: 25px 40px; /* Nog meer padding op grote schermen */
    }
}