﻿.text-bold {
    font-weight: bold;
}

body {
    background-color: #f2f4f4;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
}

.form-wrapper {
    max-width: 100%;
    margin: 20px auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.form-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 3px solid var(--save-green);
}

.form-title {
    text-align: right;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.2;
    color: #333;
}

.section-title {
    background-color: var(--save-green);
    color: #fff;
    font-weight: 600;
    padding: 8px 15px;
    font-size: 0.95rem;
    margin: 0;
}

.section-body {
    padding: 18px 25px 22px 25px;
    border: 1px solid #e2e2e2;
    border-top: none;
    margin-bottom: 20px;
    border-radius: 0 0 4px 4px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.form-control {
    border-radius: 4px;
}

.form-control:focus {
    border-color: var(--save-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 169, 157, 0.25);
}

.causal-check .form-check {
    margin-bottom: 12px;
}

.causal-check label {
    font-weight: 400;
}

.note-text {
    font-size: 0.9rem;
    font-style: italic;
    color: #454545;
}

.btn-save {
    background-color: var(--save-green);
    border-color: var(--save-green);
    color: #fff;
    font-weight: 600;
    padding: 10px 30px;
}

.btn-save:hover {
    background-color: var(--save-green-dark);
    border-color: var(--save-green-dark);
    color: #fff;
}

.required::after {
    content: " *";
    color: #d9534f;
}

.invalid-feedback {
    font-size: 0.8rem;
}

.causal-feedback {
    display: none;
    width: 100%;
    margin-top: -6px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #dc3545;
}

.causal-feedback.d-block {
    display: block;
}

#fileList {
    max-width: 100%;
}

#fileList .list-group-item {
    font-size: 0.85rem;
}

#fileList .remove-file {
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none;
}

@media (max-width: 576px) {
    .form-title {
        text-align: left;
        margin-top: 10px;
        font-size: 1.1rem;
    }

    .form-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-body {
        padding: 15px;
    }
}