/* SignUp Genius WP – Public Styles */
:root { --sgwp-color: #2563eb; }

.sgwp-wrap { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; max-width: 900px; margin: 0 auto 2rem; }
.sgwp-header { margin-bottom: 1.5rem; }
.sgwp-title { font-size: 1.6rem; font-weight: 700; color: #111; margin: 0 0 .5rem; }
.sgwp-description { color: #555; line-height: 1.6; }

/* Slot grid */
.sgwp-slots-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.sgwp-slot { background: #fff; border: 2px solid #e5e7eb; border-radius: 10px; padding: 1.25rem; transition: border-color .2s; }
.sgwp-slot-open:hover { border-color: var(--sgwp-color); }
.sgwp-slot-full { opacity: .7; background: #f9fafb; }

.sgwp-slot-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 .4rem; }
.sgwp-slot-date, .sgwp-slot-time { display: inline-block; font-size: .85rem; color: #6b7280; margin-right: .5rem; }
.sgwp-slot-location { display: block; font-size: .85rem; color: #6b7280; margin-top: .25rem; }
.sgwp-slot-desc { font-size: .9rem; color: #555; margin: .5rem 0; }

/* Capacity bar */
.sgwp-capacity-bar { background: #e5e7eb; border-radius: 99px; height: 6px; margin: .75rem 0 .25rem; overflow: hidden; }
.sgwp-capacity-fill { background: var(--sgwp-color); height: 100%; border-radius: 99px; transition: width .3s; }
.sgwp-capacity-label { font-size: .8rem; color: #6b7280; }

/* Registrants */
.sgwp-registrants-list { list-style: none; margin: .75rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.sgwp-registrants-list li { background: #eff6ff; color: var(--sgwp-color); padding: .2rem .7rem; border-radius: 99px; font-size: .82rem; font-weight: 500; }

/* Buttons */
.sgwp-signup-btn { display: block; width: 100%; margin-top: 1rem; padding: .65rem 1rem; background: var(--sgwp-color); color: #fff; border: none; border-radius: 7px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: opacity .15s; }
.sgwp-signup-btn:hover { opacity: .88; }
.sgwp-full-notice { text-align: center; color: #9ca3af; font-size: .9rem; margin-top: .75rem; }

/* Form */
.sgwp-form-container { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; }
.sgwp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
.sgwp-form-group { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .75rem; }
.sgwp-form-group label { font-size: .85rem; font-weight: 500; color: #374151; }
.sgwp-form-group input,
.sgwp-form-group textarea { border: 1.5px solid #d1d5db; border-radius: 6px; padding: .5rem .75rem; font-size: .9rem; width: 100%; box-sizing: border-box; }
.sgwp-form-group input:focus,
.sgwp-form-group textarea:focus { border-color: var(--sgwp-color); outline: none; }
.sgwp-form-actions { display: flex; gap: .75rem; align-items: center; margin-top: .5rem; }
.sgwp-submit-btn { padding: .6rem 1.5rem; background: var(--sgwp-color); color: #fff; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; }
.sgwp-cancel-form { color: #6b7280; background: none; border: none; cursor: pointer; font-size: .9rem; }
.sgwp-form-message { margin-top: .75rem; padding: .6rem .9rem; border-radius: 6px; font-size: .9rem; }
.sgwp-form-message.success { background: #d1fae5; color: #065f46; }
.sgwp-form-message.error   { background: #fee2e2; color: #991b1b; }
.sgwp-notice { padding: 1rem; background: #eff6ff; border-left: 4px solid var(--sgwp-color); border-radius: 4px; }

/* List view */
.sgwp-list-slot { margin-bottom: 1.25rem; padding: 1rem; background: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb; }
.sgwp-list-slot-header { font-size: .95rem; color: #374151; margin-bottom: .5rem; }
.sgwp-slot-count { color: #9ca3af; font-size: .85rem; margin-left: .5rem; }
.sgwp-empty-slot { color: #9ca3af; font-size: .85rem; margin: .4rem 0 0; }

@media (max-width: 600px) {
  .sgwp-form-row { grid-template-columns: 1fr; }
}
