* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

/* Form Page Styles */
.form-page { background-color: #121212; color: #ffffff; display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.form-container { background-color: #1e1e1e; padding: 40px; border-radius: 12px; width: 100%; max-width: 500px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.form-header { text-align: center; margin-bottom: 30px; }
.form-header h2 { font-size: 28px; margin-bottom: 10px; font-weight: bold; }
.form-header p { font-size: 13px; color: #aaaaaa; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; color: #dddddd; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #333; border-radius: 6px; background-color: #2a2a2a; color: #fff; font-size: 14px; }
.form-row { display: flex; gap: 15px; }
.form-row .half { flex: 1; }
.submit-btn { width: 100%; padding: 14px; background-color: #8bbd8b; color: #000; border: none; border-radius: 6px; font-size: 16px; font-weight: bold; cursor: pointer; transition: background 0.3s; }
.submit-btn:hover { background-color: #76a376; }
.hidden { display: none; }
#formMessage { color: #8bbd8b; text-align: center; font-size: 18px; margin-top: 20px; }

/* Dashboard Styles */
.dashboard-page { display: flex; background-color: #f4f6f8; color: #333; min-height: 100vh; }
.sidebar { width: 250px; background-color: #121212; color: #fff; padding: 20px; }
.sidebar h2 { margin-bottom: 30px; font-size: 20px; }
.sidebar ul { list-style: none; }
.sidebar ul li a { color: #aaa; text-decoration: none; display: block; padding: 10px; margin-bottom: 5px; border-radius: 5px; }
.sidebar ul li a:hover, .sidebar ul li a.active { background-color: #2a2a2a; color: #fff; }
.main-content { flex: 1; padding: 30px; overflow-y: auto; }
.page-section { display: none; }
.page-section.active { display: block; animation: fadeIn 0.3s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

header { margin-bottom: 25px; }
header h1 { font-size: 26px; margin-bottom: 5px; color: #111; }
header p { color: #666; font-size: 14px; }
.stats-cards { display: flex; gap: 20px; margin-bottom: 20px; }
.card { background: #fff; padding: 20px; border-radius: 10px; flex: 1; box-shadow: 0 4px 12px rgba(0,0,0,0.03); border: 1px solid #eaeaea; }
.card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: #777; margin-bottom: 10px; }
.card p { font-size: 28px; font-weight: bold; color: #121212; margin-bottom: 5px; }
.card small { font-size: 12px; color: #888; }
.table-container { background: #fff; padding: 0; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); overflow: hidden; border: 1px solid #eaeaea; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
table th { background-color: #f8fafc; color: #555; text-transform: uppercase; font-size: 12px; font-weight: 600; padding: 15px; text-align: left; border-bottom: 2px solid #edf2f7; }
table td { padding: 15px; text-align: left; border-bottom: 1px solid #edf2f7; color: #333; vertical-align: middle; }
table tr:last-child td { border-bottom: none; }
table tr:hover { background-color: #f8fafc; }
.accept-btn { background-color: #8bbd8b; color: #fff; font-weight: bold; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; transition: 0.2s; }
.accept-btn:hover { background-color: #6a9b6a; }
.badge { display: inline-block; padding: 6px 10px; border-radius: 20px; font-size: 11px; font-weight: bold; text-transform: uppercase; }
.badge.accepted { background-color: #d1fae5; color: #065f46; }
.badge.pending { background-color: #fef3c7; color: #92400e; }

/* Stat Chips */
.stat-chips { display: flex; gap: 15px; margin-bottom: 20px; }
.chip { background: #fff; padding: 10px 15px; border-radius: 8px; font-size: 14px; border: 1px solid #eaeaea; box-shadow: 0 2px 6px rgba(0,0,0,0.02); color: #555; }
.chip strong { color: #111; margin-left: 5px; }

/* Modal Styles */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 1000; justify-content: center; align-items: center; }
.modal-content { background: #1e1e1e; color: #fff; width: 100%; max-width: 450px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); max-height: 90vh; display: flex; flex-direction: column; }
.modal-content.large-split { max-width: 900px; flex-direction: row; }
.modal-header { padding: 20px; border-bottom: 1px solid #333; display: flex; justify-content: space-between; align-items: center; }

/* Split Modal Specifics */
.modal-left { flex: 1; border-right: 1px solid #333; display: flex; flex-direction: column; }
.modal-right { flex: 1; background: #121212; padding: 20px; display: flex; justify-content: center; align-items: center; overflow-y: auto; }
.preview-wrapper { width: 100%; max-width: 350px; background: #1e1e1e; border-radius: 8px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); border: 1px solid #333; transition: all 0.3s; }
.preview-wrapper.light-mode { background: #ffffff; color: #333; }
.preview-wrapper.light-mode input, .preview-wrapper.light-mode select { background: #f4f4f4; color: #333; border: 1px solid #ddd; }
.preview-wrapper.light-mode label { color: #555; }
.preview-field { margin-bottom: 15px; }
.preview-field label { display: block; margin-bottom: 5px; font-size: 12px; color: #ddd; }
.preview-field input, .preview-field select { width: 100%; padding: 8px; border-radius: 4px; border: 1px solid #444; background: #2a2a2a; }
.modal-header h2 { font-size: 20px; margin: 0; color: #8bbd8b; }
.close-modal { background: none; border: none; color: #aaa; font-size: 24px; cursor: pointer; }
.close-modal:hover { color: #fff; }
.modal-body { padding: 20px; }
.compressed-form { background: #2a2a2a; padding: 15px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.compressed-form p { margin-bottom: 8px; color: #ccc; }
.compressed-form p strong { color: #fff; display: inline-block; width: 110px; }
