/* General form layout */
.form-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
    font-family: 'Segoe UI', sans-serif;
}

/* Labels */
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Inputs and select */
.form-control,
.form-select,
textarea {
    width: 100%;
    padding: 0.6rem 0.9rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease-in-out;
}

    .form-control:focus,
    .form-select:focus,
    textarea:focus {
        border-color: #007bff;
        outline: none;
    }

/* Checkbox grid styling */
.form-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
    padding: 0.5rem 0.5rem 0;
}

    /* Checkbox label */
    .form-checklist label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.3rem 0.5rem;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #f9f9f9;
        cursor: pointer;
        transition: background 0.2s;
    }

        .form-checklist label:hover {
            background: #eef2f7;
        }

/* Form title */
.form-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Save button */
.btn-success {
    background-color: #28a745;
    color: #fff;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    transition: background 0.3s ease-in-out;
}

    .btn-success:hover {
        background-color: #218838;
    }

/* General buttons */
button {
    cursor: pointer;
}

    button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
#wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

#sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    overflow-y: auto;
}
