/* Form container */
.form-container {
    max-width: 95%;
    margin: 2rem auto;
    padding: 2rem;
    /*background: white;*/
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Form title */
/*.form-title{
    margin-bottom: 1rem;
    text-align: center;
}*/
.form-title[data-color-mode="dark"] {
    color: white;    
}
.form-title[data-color-mode="light"] {
    color: black;    
}

/* Form description */
/*.form-description{ 
    text-align: center;
}*/
.form-description[data-color-mode="dark"] {
    color: white;
}
.form-description[data-color-mode="light"] {
    color: black;
}


/* Form elements */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label{
    
    font-weight: 500;
    margin-top: 20px;
    margin-bottom:  0px;
}

.form-label[data-color-mode="dark"] {
    color: white;
}

.form-label[data-color-mode="light"] {
    color: black;
}

.form-text[data-color-mode="dark"] {
    color: darkorange;
}

.form-text[data-color-mode="light"] {
    color: darkorange;
}

.form-control {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus .form-control:hover {
    outline: none;
    border-color: darkorange; /*#4a90e2;*/
    box-shadow: 0 0 0 5px rgba(74, 144, 226, 0.2);
}

/* Buttons container */
.form-buttons {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.8rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #4a90e2;
    color: white;
}

.btn-primary:hover {
    background-color: #3a7bc8;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

/* Form footer */
.form-footer {
    margin-top: 1.5rem;
    text-align: center;
    color: #666;
}

.form-footer a {
    color: #4a90e2;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Checkboxes and radios */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    margin: 0;
}

.form-check-label {
    font-weight: normal;
}


/* Table styles */
.form-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem;
    /*background-color: lightgray;*/
}

.form-table th, .form-table td {
    padding: 0.75rem;
    /*border: 1px solid #ddd;*/
    text-align: left;
}

.form-table th {
    /*background-color: #f5f5f5;*/
    font-weight: 600;
}
.form-table th[data-color-mode="light"] {
    color: black;
}
.form-table th[data-color-mode="dark"] {
    color: white;
}


.table-container {
    margin: 1.5rem 0;
}




/* Responsive table */
@media screen and (max-width: 600px) {
    .form-table {
        display: block;
        overflow-x: auto;
    }
}