/* Harry Potter Reservations - Public Styles */

.llhpr-reservation-form {
    max-width: 1637px;
    margin: 0 auto;
    color: #ffffff;
    overflow: hidden;
}

.llhpr-title {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.llhpr-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Form Steps */
.llhpr-form {
    position: relative;
    padding: 40px 30px;
}

.llhpr-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    margin-top:60px;
}

.llhpr-step.active {
    display: block;
}

.llhpr-step.completed {
    display: block;
}

.llhpr-step.completed .llhpr-step-header {
    margin-bottom: 20px;
}

.llhpr-step.completed > *:not(.llhpr-step-header) {
    display: none;
}

.llhpr-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid white;
    width: 100%;
}

.llhpr-step-header-selected-option {
    opacity: 0.8;
    font-size: 16px;
}

.llhpr-selected-option-text {
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
}

.llhpr-step h3 {
    color: #d4af37;
    font-size: 22px;
    text-align: left;
}

.llhpr-step p {
    text-align: left;
    margin: 30px 0 30px 0;
    font-size: 18px;
    line-height: 28px;
}

/* Attendee Count */
.llhpr-attendee-count {
    text-align: left;
    margin: 30px 0;
}

.llhpr-attendee-count select {
    background: transparent;
    border:none;
    border-bottom: 2px solid white;
    color: #ffffff;
    padding: 15px 20px;
    font-size: 16px;
    min-width: 200px;
}

.llhpr-attendee-count select:focus {
    border-color: white!important;
    color:white!important;
}

.llhpr-attendee-count select option {
    background-color: var(--background-color);
    color: #ffffff;
}

/* Date Selection */
.llhpr-date-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.llhpr-date-option {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.llhpr-date-option:hover,
.llhpr-date-option.selected {
    background: var(--primary-color);
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.llhpr-date-option input {
    display: none;
}

/* Time Selection */
.llhpr-time-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

/* Time Tabs */
.llhpr-time-tabs {
    display: flex;
    margin: 20px 0;
    overflow: hidden;
    gap: 20px;
    justify-content: center;
}

.llhpr-time-tab {
    padding: 15px 20px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid white;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.llhpr-time-tab.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Time Content */
.llhpr-time-content {
    margin: 20px 0;
}

.llhpr-time-shift {
    display: none;
}

.llhpr-time-shift.active {
    display: block;
}

.llhpr-time-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.llhpr-time-option {
    border: 1px solid white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 84px;
    height: 48px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateY(0px);
}

.llhpr-time-option:hover,
.llhpr-time-option.selected {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.llhpr-time-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(128, 128, 128, 0.2);
    border-color: #666;
    position: relative;
}

.llhpr-time-option.disabled:hover {
    transform: translateY(0px);
    box-shadow: none;
    border-color: #666;
    color: #ffffff;
}

.llhpr-time-option.disabled::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #ff6b6b;
    white-space: nowrap;
}

.llhpr-time-option input {
    display: none;
}

.llhpr-hogwarts-info {
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 16px;
}

.llhpr-hogwarts-badge {
    display: flex;
    align-items:center;
    color: white;
    margin-bottom: 10px;
    gap: 10px;    
}

.hogwarts-badge {
    display:flex;
    align-items:center;
    position: absolute;
    top: -3px;
    right: 10px;
    transform: translate(50%, -50%) rotate(12deg);
    width: 56px;
    height: 33px;
    background: url(../img/ticket.webp);
}

.llhpr-icon {
    font-size: 20px;
}

.llhpr-icon img {
    width: 33.664px;
    height: 19.533px;
    transform: rotate(12.623deg);
}

.llhpr-hogwarts-info-dot-container {
    display:flex;
    align-items:center;
    gap:10px;
}

.llhpr-hogwarts-info-dot {
    width: 33.664px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:50px;
    color: var(--primary-color);
}

.llhpr-attendee-section {
    margin: 20px 0;
    margin-bottom:82px;
}
.llhpr-attendee-header {
    border-bottom:1px solid #fff;
    margin-bottom:40px;
}

.llhpr-attendee-section h4 {
    color: var(--primary-color);
    font-size: 20px;
    text-align: left;
}

.llhpr-attendee-section h5 {
    color: var(--primary-color);
    margin: 20px 0 15px 0;
    font-family: "Playfair Display";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22.4px;
}

.llhpr-age-question p {
    text-align: left;
    margin: 0 0 15px 0;
    font-family: "Open Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.llhpr-radio-group {
    display: flex;
    gap: 30px;
    margin-bottom: 34px;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.radio-group input[type="radio"] {
  display: none;
}

.radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: white;
  gap: 6px;
}

.radio-group label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  box-sizing: border-box;
}

.radio-group input[type="radio"]:checked + label::before {
  background-color: var(--primary-color);
}


.llhpr-form-row {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.llhpr-form-group {
    flex: 1;
}

.llhpr-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.llhpr-form-group input {
    max-width:273px;
    width: 100%;
    padding: 12px;
    background: transparent!important;
    color: #ffffff!important;
    border:none!important;
    border-bottom: 1px solid white!important;
    font-size: 16px;
}

.llhpr-form-group input:focus {
    outline: none;
}

.llhpr-form-group input::placeholder {
    color: #ffffff;
}

.llhpr-form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
}

.llhpr-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 48px;
    border: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    min-width: 292px;
}

.llhpr-btn-primary {
    background: var(--primary-color);
    color: #1a1a2e;
}

.llhpr-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.llhpr-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.llhpr-btn-secondary:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--primary-color);
}

.llhpr-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.llhpr-step-success {
    text-align: center;
}

.llhpr-success-content h3 {
    color: var(--primary-color);
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.llhpr-success-content p {
    text-align: center;
}

.llhpr-reservation-details {
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.llhpr-reservation-details p {
    margin: 10px 0;
    font-size: 16px;
    text-align: left;
}

.llhpr-success-message {
    font-size: 16px;
    line-height: 1.6;
    margin: 25px 0;
}

.llhpr-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px;
}

.llhpr-loading-overlay.active {
    display: flex;
}

.llhpr-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(212, 175, 55, 0.3);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

/* Error Messages */
.llhpr-error-container {
    margin: 20px 0;
}

.llhpr-error-message {
    background: rgba(244, 67, 54, 0.1);
    border: 2px solid #f44336;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    display: none;
    margin: 15px 0;
}

.llhpr-error-message.active {
    display: block;
    animation: shake 0.5s ease-in-out;
}

/* Hold Timer */
.llhpr-hold-timer {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 10px 0 50px 0;
    font-size: 24px;
    position: relative;
}
.llhpr-hold-timer-inner { display:flex; align-items:center; gap:10px; }
.llhpr-hold-timer-icon { font-size:24px; }
.llhpr-hold-time-remaining { color: var(--primary-color); font-weight:bold; }
.llhpr-hold-expiring-soon { animation: pulse-expire 1s infinite; }
.llhpr-hold-release-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    margin-left: auto;
    padding: 4px 8px;
}
.llhpr-hold-release-btn:hover { color: var(--primary-color); }

@keyframes pulse-expire {
    0%,100% { color: var(--primary-color); }
    50% { color: #ff6b6b; }
}

/* Hold Expired Modal */
.llhpr-hold-expired-modal {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    display:none;
    align-items:center; justify-content:center;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
}
.llhpr-hold-expired-modal.active { display:flex; }
.llhpr-hold-expired-content {
    background:#1a1a2e;
    border:2px solid var(--primary-color);
    border-radius:12px;
    max-width:420px; width:90%;
    padding:30px 25px;
    text-align:center;
}
.llhpr-hold-expired-content h4 { margin:0 0 15px 0; color: var(--primary-color); }
.llhpr-hold-expired-content p { margin:0 0 20px 0; font-size:15px; }
.llhpr-btn-small { min-width:150px; height:42px; font-size:16px; }

/* Messages */
.llhpr-message {
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
    font-weight: bold;
}

.llhpr-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

/* Checkbox */

.llhpr-checkbox {
    display: flex!important;
    align-items: center;
    cursor: pointer;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; 
    color:#FFF;
}

.llhpr-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    margin-right: 10px;
    display: inline-block;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.llhpr-checkbox input:checked + .checkmark {
    background-color: white;
    border-color: white;
    position: relative;
}

.llhpr-checkbox input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #0b0833;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .llhpr-reservation-form {
        margin: 10px;
        border-radius: 10px;
    }
    
    .llhpr-form {
        padding: 0;
    }
    
    .llhpr-form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .llhpr-date-options {
        flex-direction: column;
        align-items: center;
    }
    
    .llhpr-time-options {
        grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
        gap: 15px;
    }
    
    .llhpr-time-tabs {
        flex-direction: column;
    }
    
    .llhpr-form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .llhpr-btn {
        width: 100%;
        max-width: 250px;
    }
}
