/* AZ Tech Week Attend Page Styles */

/* SVG Line Positioning */
.attend-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.aztech-page-hero {
    position: relative;
}

/* Checkbox List Styling - Button Style */
#azTechWeekAttend .aztech-form-block .checkboxlist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

#azTechWeekAttend .aztech-form-block .checkboxlist label {
    position: relative;
    margin: 0;
    cursor: pointer;
    display: inline-block;
    padding: 4px 10px;
    min-width: 80px;
    background-color: #ffffff;
    color: #595959;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    line-height: 1.2;
    text-align: center;
}

#azTechWeekAttend .aztech-form-block .checkboxlist input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

#azTechWeekAttend .aztech-form-block .checkboxlist label:hover,
#azTechWeekAttend .aztech-form-block .checkboxlist input[type="checkbox"]:focus-visible + label {
    background-color: #221F20;
    color: #ffffff;
    border-color: #ffffff;
}

/* Selected state - uses page color */
#azTechWeekAttend .aztech-form-block .checkboxlist input[type="checkbox"]:checked + label {
    background-color: var(--page-color, #6BE6FB) !important;
    color: #221F20 !important;
    font-weight: 500;
    border-color: transparent !important;
}

/* Hover state for selected checkboxes - same as unselected hover */
#azTechWeekAttend .aztech-form-block .checkboxlist input[type="checkbox"]:checked + label:hover,
#azTechWeekAttend .aztech-form-block .checkboxlist input[type="checkbox"]:checked:focus-visible + label {
    background-color: #221F20 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Form Layout */
#azTechWeekAttend .contact-form-wrapper {
    max-width: 900px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#azTechWeekAttend .umbraco-forms-fieldset:first-of-type {
    max-width: 600px;
}

/* Form Legend Styling */
#azTechWeekAttend .umbraco-forms-legend {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    padding-top: 16px;
    padding-bottom: 18px;
    margin-bottom: 0px;
}

@media (min-width: 992px) {
    #azTechWeekAttend .umbraco-forms-legend {
        font-size: 28px;
    }
}

/* Add any Attend page specific styles here */
