.question-checkbox {
    margin: 6px 0;
    width: 100%;
}

.question-checkbox .col {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 16px;
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    word-break: break-word;
    white-space: normal;
}


.question-checkbox input[type="checkbox"] {
    flex-shrink: 0;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.question-checkbox input[type="checkbox"]:checked + .col,
.question-checkbox .col:has(input[type="checkbox"]:checked) {
    background-color: #e9f0ff;
    border-color: #d2e0ff;
}

/* Style for selected items similar to the image */
.question-checkbox input[type="checkbox"]:checked {
    accent-color: #4a7aff;
}

/* Make labels more visible */
.question_name {
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 1em;
    margin-bottom: 15px;
    font-size: 18px;
    color: #3A3F51;
}

.question_name .required {
    color: #ff4d4f;
    margin-left: 4px;
}

.questions-container {
    margin-top: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Title for each ticket's question set */
.ticket-questions {
    padding: 0rem 2rem 0 2rem;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
}
.ticket-questions-empty {
  margin-bottom: 0 !important;
  padding: 0 !important;
  border: none !important;
  min-height: 0 !important;
}

.ticket-questions h4 {
    margin-top: 1em;
    margin-bottom: 15px;
    font-size: 18px;
    color: #292e41;
}

/* Style for the question text */
.question-text {
    margin: 6px 0;
    width: 100%;
}

.question-text input[type="text"] {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
    font-size: 15px;
    line-height: 1.5;
}

.question-text input[type="text"]:hover {
    border-color: #b6c6e3;
}

.question-text input[type="text"]:focus {
    border-color: #4a7aff;
    box-shadow: 0 0 0 3px rgba(74, 122, 255, 0.1);
    outline: none;
}

/* Additional style for text input validation */
.question-text input[type="text"].error {
    border-color: #ff4d4f;
}

/* Style for text input when it has content */
.question-text input[type="text"]:not(:placeholder-shown) {
    background-color: #fcfcfc;
}

/* Style to match the look and feel of the other form elements */
.question-text .form-control {
    height: auto;
}

/* Event Questions Section */
#event-questions {
    margin-top: 0px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-top: 1px solid #eee;
}


/* Individual question items */
#event-questions .question-item {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

#event-questions .question-item:last-child {
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Style for select dropdowns in event questions */
#event-questions .row-cols-auto .col select {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
    font-size: 15px;
    line-height: 1.5;
    height: auto;
    background-color: #fff;
}

#event-questions .row-cols-auto .col select:hover {
    border-color: #b6c6e3;
}

#event-questions .row-cols-auto .col select:focus {
    border-color: #4a7aff;
    box-shadow: 0 0 0 3px rgba(74, 122, 255, 0.1);
    outline: none;
}

/* Bottom section with continue button */
.row-total {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.row-total .buy-tickets {
    padding: 12px 30px;
    font-size: 16px;
}

/* Continue button styling */
.continue-btn-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-primary.gradient {
    background: linear-gradient(to right, #5e82f7, #4a7aff);
    border: none;
    box-shadow: 0 4px 10px rgba(74, 122, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-primary.gradient:hover {
    background: linear-gradient(to right, #4a7aff, #3a6af0);
    box-shadow: 0 6px 12px rgba(74, 122, 255, 0.3);
    transform: translateY(-1px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #event-questions {
        padding: 15px;
        margin-top: 0px;
    }
    
    #event-questions:before {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* Beauty Alert Modal */
.beauty-alert-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    font-family: inherit;
}
.beauty-alert-backdrop {
    position: absolute;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(44, 51, 73, 0.45);
    z-index: 1;
}
.beauty-alert-content {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    min-width: 320px;
    max-width: 90vw;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(44,51,73,0.18);
    padding: 32px 28px 24px 28px;
    z-index: 2;
    text-align: center;
}
.beauty-alert-title {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 12px;
    color: #23263b;
}
.beauty-alert-message {
    font-size: 1.05em;
    color: #23263b;
    margin-bottom: 22px;
    word-break: break-word;
}
.beauty-alert-btn {
    background: linear-gradient(90deg, #5e82f7 0%, #4a7aff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 36px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(74,122,255,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
.beauty-alert-btn:hover {
    background: linear-gradient(90deg, #4a7aff 0%, #5e82f7 100%);
    box-shadow: 0 4px 16px rgba(74,122,255,0.13);
}
@media (max-width: 480px) {
    .beauty-alert-content { min-width: 0; padding: 18px 8px 14px 8px; }
    .beauty-alert-title { font-size: 1.1em; }
}

/* all inpits in user-express-signup-modal */
#user-express-signup-modal input[type="text"],
#user-express-signup-modal input[type="email"],
label.col {
    border: 1px solid #E0E0E0 !important;
    border-radius: 10px !important;
    height: 48px !important;
    box-shadow: 0px 4px 10px 0px #e7e7e7 !important;
}
label.col {
    color: #9C9C9C;
    height: 100% !important;
}

/* all p .firld in buyer-questions */
#buyer-questions p.field {
    margin: 0%;
}
.question-item {
    margin: 0 0 3rem 0;
}
.ticket-questions .question-item label,
#event-questions .question-item label {
    color: #3A3F51;
    font-weight: 400;
    box-shadow: none !important;
}


.modal-body label {
    color: #9C9C9C;
}

.question-item .required,
label[for="id-express-email"] .required {
    color: #ff4d4f;
    margin-left: 4px;
}

#event-questions .question-item .question-text {
    border: 1px solid #E0E0E0 !important;
    border-radius: 10px !important;
}
