/**
 * Forms CSS
 * Additional form styling
 */

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

/* File Upload */
.file-upload-group {
    position: relative;
}

.file-upload-label {
    display: block;
    padding: 40px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-light);
}

.file-upload-label svg {
    margin: 0 auto 10px;
    opacity: 0.5;
}

.file-upload-label span {
    display: block;
}

.file-upload-label .file-name {
    margin-top: 10px;
    font-weight: bold;
    color: var(--color-primary);
}

input[type="file"] {
    position: absolute;
    left: -9999px;
}

/* Form Actions */
.form-actions {
    margin-top: 30px;
    text-align: center;
}

.form-actions button,
.form-actions .btn-primary {
    min-width: 200px;
}

/* Full Width Items */
.form-group.full-width,
.info-item.full-width {
    grid-column: 1 / -1;
}
