/**
 * Version 2.6 Enhancements CSS
 * Enhanced registration form styles for improved UX
 * Created: December 11, 2025
 */

/* Grid Overhaul */
/* Default Form Grid */
.por_rform {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-auto-flow: dense; /* Force 100% fill */
  gap: 20px 25px;
  /*background: lightblue !important;*/
}

/*.por_rform.checkout>.por_rform_col:nth-child(3n+1),
.por_rform.checkout>.por_rform_col:nth-child(3n+2),
.por_rform.checkout>.por_rform_col:nth-child(3n+3) { background: pink; }*/

/*.por_rform.checkout .por_rform_col:nth-of-type(even) { background: pink; }*/

/* Preset Column Grids */
.por_rform.c2-4 { grid-template-columns: 2fr 4fr; }
.por_rform.c-3s { grid-template-columns: 2fr 2fr 2fr; }
.por_rform.c4-2 { grid-template-columns: 4fr 2fr; }

/* Column Rules */
.por_rform_col {
  font-size: 16px;
  display: flex;
  align-items: center;
}

.por_rform_col.row-2 {
  grid-row: span 2; /* Take 2 rows; will NOT work for 2 side by side columns! */
}

/* Text Alignments */
.por_rform_col.left > * { margin-right: auto; text-align: left !important; }
.por_rform_col.center > * { margin: auto; }
.por_rform_col.right > * { margin-left: auto; text-align: right !important; }

.por_rform_col > input { width: 100%; }

.por_co_head { border-bottom: 1px solid #000; }

/* Column Spans
NOTE: These will adjust to the parent wrapper's column class! So if using the 3s form class wrapper, span 2 would be the same as 2/3rds of the row */
.por_rform_col.col-2 { grid-column: span 2; }
.por_rform_col.col-3 { grid-column: span 3; }
.por_rform_col.col-4 { grid-column: span 4; }
.por_rform_col.col-5 { grid-column: span 5; }
.por_rform_col.col-6 { grid-column: span 6; }
.por_rform_col-full { grid-column: 1/-1; /* Fullwidth column for any wrapper */ }

/* END Grid Overhaul */

/* Multi-step Container Layout */
.registration_multistep_container_v26 {
    display: flex;
    gap: 20px;
    margin: 0 !important; /*BAH*/
}

/* Hero Image Section */
.registration_multistep_hero_v26 {
    /*flex: 0 0 400px;*/
    position: sticky;
    top: 20px;
    height: fit-content;
}

.registration_multistep_hero_v26 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1) !important; /*BAH*/
}

/* Hero Download Button */
.registration_hero_download_v26 {
    margin-top: 15px;
}

.registration_hero_download_button_v26 {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #02879B;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.registration_hero_download_button_v26:hover {
    background-color: #006275;
}

/* Content Section */
.registration_multistep_content_v26 {
    flex: 1;
    min-width: 0;
	padding: 0 !important; /*BAH*/
	margin: 0 !important; /*BAH*/
}

/* Step Indicator */
.registration_step_indicator_v26 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
	padding-bottom: 0; /*BAH*/
	border-bottom: 0; /*BAH*/
    gap: 10px;
}

.registration_step_item_v26 {
    flex: 1;
    text-align: center;
    opacity: 1 !important; /*BAH*/
    transition: opacity 0.3s ease;
}

.registration_step_item_v26.active {
    opacity: 1;
}

.registration_step_number_v26 {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #E6E6E6 !important; /*BAH*/
    color: #B8B8B8;
    margin: 0 auto 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.registration_step_item_v26.completed:not(:last-child)::after,
.registration_step_item_v26.completed .registration_step_number_v26 {  /*BAH*/
	background: #97A8C2 !important;
}

.registration_step_item_v26.completed .registration_step_label_v26  {  /*BAH*/
	color: #97A8C2 !important;
}

.registration_step_item_v26.active .registration_step_number_v26 {
    background-color: #32568c !important; /*BAH*/
    color: #ffffff;
}

.registration_step_label_v26 {
    font-size: 14px;
    color: #B8B8B8;
}

.registration_step_item_v26.active .registration_step_label_v26 {
    color: #000;
    font-weight: 600;
}

/* Progress Bar */
.registration_progress_bar_v26 {
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.registration_progress_fill_v26 {
    height: 100%;
    background-color: #32568c !important; /*BAH*/
    transition: width 0.3s ease;
}

.registration_progress_fill_v26 { /*BAH*/
    height: 100%;
    background: linear-gradient(90deg, #598bd7 0%, #32568c 100%) !important; 
    transition: width 0.4s ease;
    border-radius: 2px;
}

/* Form Labels */
.reg_form_elmt_title_v26 { 
	font-weight: bold;
	font-size: 16px; /*BAH*/
}

/* Form buttons */ 
.reg_copy_prev_attendee { /*BAH*/
	background-color: #e4945a !important;
	color: #1c1818 !important;
	font-weight: 800;
	padding: 10px 15px;
	border: 2px solid #e4945a;
	border-radius: 50px;
}

/* .pecs_online_reg_apply_coupon, 
.pecs_online_reg_apply_coupon span, button.pecs_online_reg_apply_coupon */

button.pecs_online_reg_apply_coupon, button.pecs_online_reg_remove_coupon {
	color:#1c1818;
	padding: 15px 10px !important; /* 12px 30px */
    font-size: 11px !important;
    font-weight: 700;
    border: 2px solid #e4945a;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease-in-out 0s;
}

button.pecs_online_reg_apply_coupon { background: #e4945a; }

button.pecs_online_reg_apply_coupon:hover { background: transparent; }

button.pecs_online_reg_remove_coupon { background: transparent; }

button.pecs_online_reg_remove_coupon:hover { background: #e4945a; }

/* For Header Rules */
.por_rform_col h3, .manualpayment_form h3 { font-size: 20px; }
.por_rform_col h4, .manualpayment_form h4 { font-size: 18px; }
.por_rform_col h5, .manualpayment_form h5 { font-size: 16px; }
.por_rform_col h6, .manualpayment_form h6 { font-size: 14px; }

 /* Payment Option List */
.pecsonlinereg-paymentchoice ul {
	list-style: none;
	padding: 0 !important;
	margin: 0 0 10px 0;
}

.reg_copy_prev_attendee:hover { /*BAH*/
	background-color: transparent !important;
	color: #1c1818 !important;
}

/* .pecs_online_reg_apply_coupon {
    padding: 12px 30px;
    font-size: 18px !important; 
    font-weight: 700 !important; 
    border: 2px solid #e4945a !important; 
    border-radius: 50px !important; 
    cursor: pointer;
    transition: all 0.3s ease;
}

.pecs_online_reg_remove_coupon {
	background: transparent !important;
	border-color: #e4945a !important;
	transform: none !important; 
	box-shadow: 0 0 0 rgba(0,0,0,0.3) !important;
} */

/* Utility Classes */
.hidden {
    display: none !important;
}

/* PayPal Google Pay Container */
.paypal-googlepay-hidden {
    display: none;
    margin-bottom: 10px;
}

/* Confirmation Submit Button */
.confirmation-submit-btn {
    float: right;
}

/* Step Sections */
.registration_step_section_v26 {
    display: none;
}

.registration_step_section_v26.active {
    display: block;
}

.registration_step_header_v26 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #02879B;
}

/* Price List (Hero Section) */
.hero_price_name_v26 {
    flex: 1;
    font-size: 16px;
}

.hero_price_amount_v26, .hero_price_amount_v26 .reg_form_price { /*BAH*/
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.reg_form_price_strikeout { font-size: 18px !important; }

.reg_form_price_discount { 
	color: #e4945a;
	font-size: 18px !important;
}

/* Participants Section */
.registration_hero_participants_v26 {
    margin: 20px 0;
}

.hero_participants_title_v26 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero_participants_desc_v26 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.hero_participants_note_v26 {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.hero_seats_warning_v26 {
    color: red;
    font-weight: bold;
    margin: 10px 0;
}

.hero_participants_select_v26 {
    margin: 15px 0;
}

.hero_numofpeople_select_v26 {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #000 !important; /*BAH*/
    border-radius: 4px;
	background: #fdfbf9 !important; /*BAH*/
}

.hero_numofpeople_select_v26:after { 
	content: '4';
}

/* Input Fields */
.reg_form_text  { /*BAH*/
	padding: 10px 15px !important;
	border-radius: 10px !important;
	font-size: 16px !important;
	border: 1px solid #1c1818 !important;
}

.reg_form_text:active, .reg_form_text:focus {
	background: #fcf4ef !important;
	color: #1c1818 !important;
	border: 2px solid #e4945a !important;
}

/* Disclaimer */
.hero_disclaimer_v26 {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #02879B;
    font-size: 14px;
}

.hero_disclaimer_v26 input[type="checkbox"] {
    margin-right: 8px;
}

/* Navigation Buttons */
.registration_nav_buttons_v26 {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.registration_nav_button_v26 {
    padding: 12px 30px;
    font-size: 18px !important; /*BAH*/
    font-weight: 700 !important; /*BAH*/
    border: 2px solid #e4945a !important; /*BAH*/
    border-radius: 50px !important; /*BAH*/
    cursor: pointer;
    transition: all 0.3s ease;
}

.registration_nav_button_v26:hover:not(:disabled) { /*BAH*/
	background: transparent !important;
	border-color: #e4945a !important;
	transform: none !important; 
	box-shadow: 0 0 0 rgba(0,0,0,0.3) !important;
}

.btn_previous_v26 {
    background-color: #e4945a !important;
    color: #1c1818 !important; /*BAH*/
}

.btn_previous_v26:hover {
    background-color: transparent !important; /*BAH*/
}

.btn_next_v26,
.btn_submit_v26 {
    background-color: #e4945a !important; /*BAH*/
    color: #1c1818 !important; /*BAH*/
    flex: 1;
}

.btn_next_v26:hover,
.btn_submit_v26:hover {
    background-color: transparent !important; /*BAH*/
}

.btn_previous_v26[style*="display:none"],
.btn_next_v26[style*="display:none"],
.btn_submit_v26[style*="display:none"] {
    display: none !important;
}

/* Checkout Tweaks */
.attendee_confirmation h3 {
	font-size: 18px;
	font-weight: 700;
}

/* Avoid random cell coloring from old table form script overlap */
.reg_form_confirm-table-row-odd, .reg_form_confirm-table-row-data { background: transparent !important; }

.por_grandtotal_label, .grandtotal { font-size: 20px; }

/* Responsive Design */
@media (max-width: 1024px) {
    .registration_multistep_container_v26 {
        flex-direction: column;
    }
    
    .registration_multistep_hero_v26 {
        flex: none;
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .registration_step_indicator_v26 {
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .registration_step_item_v26 {
        flex: 0 0 auto;
        min-width: 80px;
    }
    
    .registration_step_label_v26 {
        font-size: 12px;
    }
    
    .registration_step_number_v26 {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
    }
    
    .registration_nav_buttons_v26 {
        flex-direction: column;
    }
    
    .btn_next_v26,
    .btn_submit_v26 {
        order: -1;
    }
}

/* Loading Button Animation */
.loading-button:disabled::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}