/* SAM Employee of the Month - Public Styles */

/* Notices */
.sam-eom-notice { padding: 15px 20px; border-radius: 4px; margin-bottom: 20px; }
.sam-eom-notice-info { background: #e7f3fe; border-left: 4px solid #2196F3; color: #1565c0; }
.sam-eom-notice-success { background: #e8f5e9; border-left: 4px solid #4caf50; color: #2e7d32; }
.sam-eom-notice-warning { background: #fff3e0; border-left: 4px solid #ff9800; color: #e65100; }
.sam-eom-notice-error { background: #ffebee; border-left: 4px solid #f44336; color: #c62828; }

/* Form Container */
.sam-eom-form-container { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 25px; max-width: 500px; }
.sam-eom-form-container h3 { margin: 0 0 10px; color: #333; }
.sam-eom-campaign-info { color: #666; font-size: 14px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }

/* Form Fields */
.sam-eom-field { margin-bottom: 20px; }
.sam-eom-field label { display: block; font-weight: 500; margin-bottom: 8px; color: #333; }
.sam-eom-field select, .sam-eom-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 15px; }
.sam-eom-field select:focus, .sam-eom-field textarea:focus { border-color: #2271b1; outline: none; box-shadow: 0 0 0 1px #2271b1; }

/* Buttons */
.sam-eom-btn { display: inline-block; padding: 12px 24px; border: none; border-radius: 4px; font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none; transition: all 0.2s; }
.sam-eom-btn-primary { background: #2271b1; color: #fff; }
.sam-eom-btn-primary:hover { background: #135e96; color: #fff; }

/* Candidates (Radio buttons styled as cards) */
.sam-eom-candidates { display: flex; flex-direction: column; gap: 10px; }
.sam-eom-candidate { display: flex; align-items: center; padding: 15px; border: 2px solid #e0e0e0; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
.sam-eom-candidate:hover { border-color: #2271b1; background: #f8fbfd; }
.sam-eom-candidate input[type="radio"] { margin-right: 12px; width: 18px; height: 18px; }
.sam-eom-candidate input[type="radio"]:checked + .sam-eom-candidate-name { font-weight: 600; }
.sam-eom-candidate:has(input:checked) { border-color: #2271b1; background: #e7f3fe; }

/* Message */
.sam-eom-message { padding: 12px 15px; border-radius: 4px; margin-top: 15px; }
.sam-eom-message.success { background: #e8f5e9; color: #2e7d32; }
.sam-eom-message.error { background: #ffebee; color: #c62828; }

/* Results / Podium */
.sam-eom-results-container { text-align: center; padding: 20px; }
.sam-eom-podium { display: flex; justify-content: center; align-items: flex-end; gap: 20px; margin: 30px 0; flex-wrap: wrap; }
.sam-eom-podium-position { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 20px; min-width: 150px; text-align: center; }
.sam-eom-position-1 { order: 2; transform: scale(1.1); border-color: #ffd700; background: linear-gradient(to bottom, #fffef0, #fff); }
.sam-eom-position-2 { order: 1; border-color: #c0c0c0; }
.sam-eom-position-3 { order: 3; border-color: #cd7f32; }
.sam-eom-medal { font-size: 40px; margin-bottom: 10px; }
.sam-eom-winner-name { font-size: 18px; font-weight: 600; color: #333; }
.sam-eom-votes { font-size: 14px; color: #666; margin-top: 8px; }

/* History Grid */
.sam-eom-history-container h3 { text-align: center; margin-bottom: 25px; }
.sam-eom-history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.sam-eom-history-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 20px; text-align: center; }
.sam-eom-history-period { font-size: 14px; color: #666; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.sam-eom-history-winner { margin: 15px 0; }
.sam-eom-trophy { font-size: 30px; display: block; margin-bottom: 5px; }
.sam-eom-history-winner .sam-eom-winner-name { font-size: 18px; font-weight: 600; }
.sam-eom-history-runnerup { font-size: 13px; color: #666; margin-top: 8px; }

/* Editor Container */
.sam-eom-editor-container { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 25px; }
.sam-eom-editor-section { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.sam-eom-editor-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sam-eom-editor-section h4 { margin: 0 0 15px; color: #333; }
.sam-eom-active-card { background: #e8f5e9; padding: 15px; border-radius: 4px; margin-bottom: 10px; }

/* Tables */
.sam-eom-table { width: 100%; border-collapse: collapse; }
.sam-eom-table th, .sam-eom-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eee; }
.sam-eom-table th { background: #f8f9fa; font-weight: 600; }
.sam-eom-table tr:hover { background: #f8f9fa; }

/* Status Badge */
.sam-eom-status-badge { display: inline-block; padding: 3px 8px; border-radius: 3px; font-size: 12px; }
.sam-eom-status-draft { background: #e0e0e0; color: #666; }
.sam-eom-status-active { background: #c8e6c9; color: #2e7d32; }
.sam-eom-status-closed { background: #fff3e0; color: #e65100; }
.sam-eom-status-published { background: #bbdefb; color: #1565c0; }

.sam-eom-stats-inline { margin: 15px 0; color: #666; }
