/* LOADCAP SPECIFIC STYLES */

.section {
    margin-bottom: 30px;
}

.section-header {
    height: 25px;
    margin-bottom: 20px;
}

.section-title {
    float: left;
    font-size: 20pt;
    color: #7F7F7F;
    font-weight: normal;
}

.section-divider {
    height: 1px;
    margin-top: 5px;
    background-color: #e09c10;
    clear: both;
}

.section-footer {
    height: 22px;
    margin-top: 5px;
    background-color: #D9D9D9;
}

.form-section {
    margin-bottom: 30px;
}

.cedimenti-title {
    color: #B4B4B4;
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.form-control {
    border-radius: 0;
}

.text-right {
    text-align: right;
}

.alignRight {
    text-align: right;
}

.alignLeft {
    text-align: left;
}

/* INDENTATION AND SPACING */
.mleft6 {
    margin-left: 6px;
}

.mleft12 {
    margin-left: 12px;
}

.pleft6 {
    padding-left: 6px;
}

.pleft12 {
    padding-left: 12px;
}

.indent1 {
    padding-left: 12px;
}

.tdw1 {
    width: 125px;
}

.tdw2 {
    width: 50px;
}

/* FOUNDATION DIAGRAM */
#foundation-diagram {
    border: 1px solid #ddd;
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f9f9f9;
}

/* RESULTS */
.result-success {
    color: green;
}

.result-failure {
    color: red;
}

.error-message {
    color: red;
    text-align: center;
    margin-bottom: 15px;
}

.form-buttons {
    text-align: center;
    margin: 20px 0;
}

/* BUTTONS */
.btn {
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    margin-left: 0.5rem;
}

/* Button styles to match Tiranti */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
}

/* MODAL DIALOG */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.modal-title {
    color: #495057;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* File Upload Modal Styles */
#uploadModal .modal-content {
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#uploadModal .modal-header {
    padding: 1rem;
}

#uploadModal .modal-body {
    padding: 1.5rem;
}

#uploadModal .form-label {
    font-weight: 500;
}

#uploadModal .form-control {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
}

#uploadModal .form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

#uploadModal .btn-close {
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

/* Style the file input */
input[type=file].form-control {
    padding: 0.375rem 0.75rem;
    height: auto;
}
