@import url('https://fonts.googleapis.com/css2?family=Nunito:ital@0;1&display=swap');

.nunito-font{
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    background: #fff5dc;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #3d3d3d;
}

header {
    border-color: #e8d4a8 !important;
}

header a {
    color: #c17a5c;
    transition: color 0.3s ease;
}

header a:hover {
    color: #a25f47;
    text-decoration: none;
}

header h1 {
    color: #2d2d2d;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.card {
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-top: 4px solid #c17a5c;
    box-shadow: 0 4px 12px rgba(193, 122, 92, 0.12);
}

.card h2 {
    color: #2d2d2d;
    font-weight: 600;
    border-bottom: 2px solid #f0e5c8;
    padding-bottom: 12px;
    margin-bottom: 20px !important;
}

.form-label {
    color: #3d3d3d;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-select,
.form-control {
    border: 2px solid #e8d4a8;
    background-color: #fefdfb;
    color: #3d3d3d;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-select:focus,
.form-control:focus {
    border-color: #c17a5c;
    background-color: #fffef9;
    box-shadow: 0 0 0 0.2rem rgba(193, 122, 92, 0.15);
}

.form-select:hover,
.form-control:hover {
    border-color: #d4a987;
}

.btn-primary {
    background-color: #c17a5c;
    border-color: #c17a5c;
    color: #ffffff;
    font-weight: 500;
    padding: 10px 28px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #a25f47;
    border-color: #a25f47;
    box-shadow: 0 4px 12px rgba(193, 122, 92, 0.3);
}

.btn-primary:focus {
    background-color: #a25f47;
    border-color: #a25f47;
    box-shadow: 0 0 0 0.25rem rgba(193, 122, 92, 0.25);
}

.alert-danger {
    background-color: #fff3f3;
    border-color: #f0c8c8;
    color: #8b4545;
}

.alert-danger strong {
    color: #6b3434;
}

.alert-danger ul li {
    margin-bottom: 5px;
}

small {
    color: #7a7a7a;
    font-style: italic;
    font-size: 0.85rem;
}

#personalSection,
#dagSection,
#levelSection {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .card {
        border-top-width: 3px;
    }
    
    .btn-primary {
        width: 100%;
    }
}