.course-register-wrap { margin-top: 40px; padding: 30px 24px; background: #f6f9f7; border-top: 4px solid #006a4e; }
.course-register-wrap h2 { margin-top: 0; }
.course-register-wrap .form-instructions { font-size: 13px; color: #666; margin-bottom: 20px; }
.course-register-wrap .req { color: #c0392b; }
.course-registration-form .validation-summary-valid { display: none; }
.course-registration-form .validation-summary-errors { background: #fdecea; border-left: 4px solid #c0392b; padding: 12px 16px; margin-bottom: 20px; color: #7c1f15; }
.course-registration-form .validation-summary-errors ul { margin: 0; padding-left: 18px; }

.attendee-row { background: #fff; border: 1px solid #d8e3dc; padding: 20px 24px; margin-bottom: 18px; }
.attendee-row-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.attendee-row-header h4 { margin: 0; }
.remove-attendee { background: transparent; border: 0; color: #c0392b; cursor: pointer; font-size: 13px; padding: 4px 8px; }
.remove-attendee:hover { text-decoration: underline; }

.course-registration-form .form-group { margin-bottom: 14px; }
.course-registration-form label { display: block; font-weight: 600; color: #2b3a36; margin-bottom: 4px; }
.course-registration-form .form-control { width: 100%; padding: 8px 10px; border: 1px solid #c5cfca; border-radius: 2px; font-family: inherit; font-size: 14px; line-height: 1.4; color: #222; box-sizing: border-box; }
.course-registration-form .form-control:focus { outline: 2px solid #006a4e22; border-color: #006a4e; }
.course-registration-form textarea.form-control { resize: vertical; }
.course-registration-form select.form-control { height: auto; min-height: 38px; padding-right: 28px; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-color: #fff; background-image: linear-gradient(45deg, transparent 50%, #5a6f68 50%), linear-gradient(135deg, #5a6f68 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.course-registration-form select.form-control::-ms-expand { display: none; }

.course-registration-form .radio-group .radio-options { display: flex; gap: 24px; padding-top: 4px; }
.course-registration-form .radio-inline { font-weight: normal; display: inline-flex; align-items: center; gap: 6px; }
.course-registration-form .hint { color: #666; font-size: 13px; line-height: 1.4; }
.course-registration-form .dietary-detail { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #d8e3dc; }

.course-register-wrap .coupon-row { max-width: 320px; margin-top: 16px; }
.course-register-wrap .coupon-row .hint { font-weight: normal; font-size: 12px; color: #777; }
.course-register-wrap .coupon-input { text-transform: uppercase; }

.price-breakdown { margin: 12px 0 18px; padding: 12px 16px; background: #f4f7f5; border-left: 4px solid #006a4e; }
.price-breakdown .row { display: flex; justify-content: space-between; padding: 2px 0; margin-left: 0; margin-right: 0; }
/* Bootstrap 3's .row clearfix pseudo-elements become flex items and break space-between — remove them. */
.price-breakdown .row::before, .price-breakdown .row::after { content: none; display: none; }
.price-breakdown .row.total { font-weight: 600; border-top: 1px solid #d8e3dc; margin-top: 6px; padding-top: 8px; }
.price-breakdown .row.discount { color: #1f7a3e; }

.course-register-wrap .form-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.course-register-wrap .form-actions button { border: 0; cursor: pointer; }
.course-register-wrap .form-actions button[disabled] { opacity: 0.6; cursor: not-allowed; }

.registration-confirmation .status-paid { color: #1f7a3e; }
.registration-confirmation .status-failed { color: #b03325; }
.registration-confirmation .status-pending { color: #6b6b00; }
.registration-confirmation .status-block { padding: 16px 20px; background: #f4f7f5; border-left: 4px solid #006a4e; margin-top: 16px; }
.registration-confirmation .status-block.status-failed { border-left-color: #b03325; }
.registration-confirmation .status-block.status-pending { border-left-color: #c8a01b; }

.registration-closed-pill { display: inline-block; padding: 6px 14px; background: #efece1; border: 1px solid #d8d2bb; color: #6b5a00; border-radius: 3px; font-weight: 600; }

.book-page .book-hero { text-align: center; margin: 30px 0 40px; }
.book-page .book-cover { max-width: 100%; box-shadow: 0 6px 24px rgba(0,0,0,0.18); }
.book-page .book-intro { font-size: 16px; line-height: 1.5; }
.book-page .book-price { font-size: 28px; font-weight: 600; color: #2b3a36; margin: 16px 0 12px; }
.book-page .book-features { margin-top: 40px; }
/* On the book order form the coupon sits beside the quantity field — undo the course form's standalone spacing. */
.book-order-wrap .coupon-row { margin-top: 0; max-width: none; }
.book-page .book-description-panel { background: #5a6f68; color: #fff; padding: 24px 28px; }
.book-page .book-description-panel a { color: #d8f0e0; }
.book-order-wrap h3 { margin-top: 24px; }
.registration-closed-block { margin-top: 40px; padding: 30px 24px; background: #f6f9f7; border-top: 4px solid #c8a01b; }
.registration-closed-block h2 { margin-top: 0; }
