body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background-color: #f4f6f9; color: #333; margin: 0; padding: 20px; }
.container { max-width: 700px; margin: 0 auto; background-color: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
h1 { text-align: center; color: #2c3e50; margin-bottom: 25px; }
.form-group { margin-bottom: 20px; }
.form-row { display: flex; gap: 20px; align-items: flex-end; }
.form-row .form-group { flex: 1; }
.featured-checkbox { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; }
.featured-checkbox label { margin-bottom: 0; }
label { display: block; margin-bottom: 8px; font-weight: 600; }
input[type="text"], input[type="number"], textarea, select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; background: #fff; }
.input-with-button { display: flex; }
.input-with-button input { flex-grow: 1; border-left: none; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-with-button button, .upload-btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.tags-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { background-color: #3498db; color: white; padding: 5px 10px; border-radius: 15px; font-size: 14px; display: flex; align-items: center; }
.remove-tag { background: none; border: none; color: white; margin-right: 5px; cursor: pointer; font-weight: bold; }
button { background-color: #28a745; color: white; padding: 12px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; width: 100%; transition: background-color 0.2s; }
button:disabled { background-color: #aaa; cursor: not-allowed; }
button[type="button"] { background-color: #007bff; width: auto; }
.hidden { display: none !important; }
.upload-area { border: 2px dashed #ccc; border-radius: 8px; padding: 20px; text-align: center; cursor: pointer; min-height: 150px; display: flex; justify-content: center; align-items: center; position: relative; }
.upload-area img { max-width: 100%; max-height: 150px; border-radius: 4px; }
.upload-area span { color: #888; }
.gallery-preview { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-preview img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; border: 1px solid #ddd; }

/* Modal Styles */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 1000; }
.modal-content { background: white; padding: 30px; border-radius: 8px; width: 90%; max-width: 500px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); text-align: center; }
#modal-status-list { list-style: none; padding: 0; margin-top: 20px; text-align: right; }
#modal-status-list .status-item { padding: 8px 0; border-bottom: 1px solid #eee; display: flex; align-items: center; }
#modal-status-list .status-item::before { content: '⏳'; margin-left: 10px; }
#modal-status-list .status-item.success::before { content: '✅'; }
#modal-status-list .status-item.error::before { content: '❌'; }
#modal-result { margin-top: 20px; padding: 15px; border-radius: 5px; }
#modal-result.success { background-color: #e9f7ef; color: #1d6c41; }
#modal-result.error { background-color: #fbe9e9; color: #a92323; }
#modal-result a { color: #0056b3; font-weight: bold; text-decoration: none; }
#modal-close-btn { background-color: #6c757d; margin-top: 20px; }