/* Enhanced Features CSS */

/* Staff Management Styles */
.fm-staff-claims {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.fm-assigned-clients,
.fm-pending-claims,
.fm-claim-form {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.fm-assigned-clients h3,
.fm-pending-claims h3,
.fm-claim-form h3 {
    color: #0074bc;
    margin-top: 0;
    margin-bottom: 15px;
}

.fm-assigned-clients ul,
.fm-pending-claims ul {
    list-style: none;
    padding: 0;
}

.fm-assigned-clients li,
.fm-pending-claims li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.fm-assigned-clients li:last-child,
.fm-pending-claims li:last-child {
    border-bottom: none;
}

.fm-claim-form .fm-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fm-claim-form label {
    font-weight: 600;
    color: #333;
}

.fm-claim-form select,
.fm-claim-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.fm-claim-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Notice Styles */
.fm-notice {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.fm-notice.fm-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.fm-notice.fm-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Commodity Management Styles */
.fm-commodity-selection {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.fm-commodity-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.fm-commodity-details {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 15px;
    margin-top: 10px;
}

.fm-commodity-details h4 {
    margin-top: 0;
    color: #0074bc;
}

.fm-commodity-details .form-table th {
    width: 120px;
    font-weight: 600;
}

/* Document Management Styles */
.fm-document-sections {
    display: grid;
    gap: 20px;
}

.fm-document-section {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.fm-document-section h4 {
    color: #0074bc;
    margin-top: 0;
    margin-bottom: 15px;
}

.fm-document-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.fm-document-summary {
    background: #e7f3ff;
    border: 1px solid #0073aa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.fm-document-summary h4 {
    color: #0074bc;
    margin-top: 0;
}

.fm-document-summary ul {
    list-style: none;
    padding: 0;
}

.fm-document-summary li {
    padding: 8px 0;
    border-bottom: 1px solid #b3d9ff;
}

.fm-document-summary li:last-child {
    border-bottom: none;
}

/* Staff Assignment Styles */
.fm-staff-assignment {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
}

.fm-staff-assignment select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Department Badge Styles */
.fm-department-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.fm-department-sales {
    background: #e3f2fd;
    color: #1976d2;
}

.fm-department-finance {
    background: #f3e5f5;
    color: #7b1fa2;
}

.fm-department-operations {
    background: #e8f5e8;
    color: #388e3c;
}

.fm-department-staff {
    background: #fff3e0;
    color: #f57c00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fm-document-sections {
        grid-template-columns: 1fr;
    }
    
    .fm-commodity-details .form-table {
        display: block;
    }
    
    .fm-commodity-details .form-table th,
    .fm-commodity-details .form-table td {
        display: block;
        width: 100%;
        padding: 5px 0;
    }
}

/* Button Styles */
.fm-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0074bc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.fm-btn:hover {
    background: #005a91;
    color: #fff;
}

.fm-btn-primary {
    background: #0074bc;
}

.fm-btn-secondary {
    background: #6c757d;
}

.fm-btn-success {
    background: #28a745;
}

.fm-btn-danger {
    background: #dc3545;
}

/* Form Styles */
.fm-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fm-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.fm-form input,
.fm-form select,
.fm-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.fm-form input:focus,
.fm-form select:focus,
.fm-form textarea:focus {
    outline: none;
    border-color: #0074bc;
    box-shadow: 0 0 0 2px rgba(0, 116, 188, 0.2);
} 