/* Event Tickets Manager — public styles (event pages + [etm_events]) */

.etm-alert { padding: 14px 18px; border-radius: 8px; margin: 1rem 0; font-weight: 500; font-size: 14px; }
.etm-alert-success { background: #e6f4ea; color: #1e7e34; }
.etm-alert-info    { background: #e8f0fe; color: #1a4fa0; }
.etm-alert-warning { background: #fff3cd; color: #856404; }
.etm-alert-error   { background: #fce8e6; color: #c5221f; }

.etm-form-wrap { margin: 2rem 0; padding: 2rem; background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; max-width: 520px; box-sizing: border-box; }
.etm-form-wrap h3 { margin: 0 0 .75rem; font-size: 18px; color: #1a1a2e; }
.etm-meta-line { font-size: 14px; color: #555; margin: 0 0 .35rem; }
.etm-remaining { font-size: 12px; color: #888; }

.etm-field { margin-bottom: 14px; }
.etm-field label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 4px; }
.etm-field input,
.etm-field select { width: 100%; padding: 10px 12px; border: 1.5px solid #ddd; border-radius: 7px; font-size: 14px; box-sizing: border-box; }
.etm-field input:focus,
.etm-field select:focus { outline: none; border-color: #1a1a2e; }
.etm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.etm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.etm-price { font-size: 22px; font-weight: 700; color: #1a1a2e; margin: 12px 0 16px; }
.etm-submit { width: 100%; padding: 13px; background: #1a1a2e; color: #fff; border: 0; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; }
.etm-submit:hover { background: #2c2c54; }
.etm-submit:disabled { background: #999; cursor: not-allowed; }
.etm-form-msg { margin-top: 12px; }

.etm-events-list { display: grid; gap: 16px; }
.etm-event-card { border: 1px solid #e0e0e0; border-radius: 10px; padding: 20px; background: #fff; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.etm-event-title { font-size: 17px; font-weight: 700; color: #1a1a2e; text-decoration: none; }
.etm-event-meta { font-size: 13px; color: #666; margin-top: 3px; }
.etm-event-buy { text-align: right; }
.etm-event-price { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.etm-button { display: inline-block; background: #1a1a2e; color: #fff !important; padding: 8px 20px; border-radius: 7px; text-decoration: none; font-size: 14px; font-weight: 600; }

@media (max-width: 480px) {
	.etm-row { grid-template-columns: 1fr; }
	.etm-event-buy { text-align: left; }
}
