/* register_main.css */

/* Body styles */
body {
    font-family: Arial, sans-serif;
    background-color: #002645;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Main container */
.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Logo + Title */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.logo {
    width: 80px;
    height: auto;
    margin-right: 12px;
}
header h1 {
    font-size: 2em;
    margin: 0;
    color: #FFB347;
        font-weight: normal;    /* Make it non-bold */
}
header h1 strong {
    font-weight: bold;
}

/* Page heading */
h2 {
    font-size: 1.5em;
    margin: 20px 0;
    color: #FFB347;
    position: relative;
    text-align: center;
}
h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: white;
}

/* Message text under the form */
#message {
    margin-top: 1rem;
    min-height: 1.2em;
    font-size: 1em;
    color: #FFB347;
}

/* Input fields */
input[type="email"],
input[type="password"] {
    display: block;
    margin: 0.5rem auto;
    width: 100%;
    max-width: 300px;
    font-size: 1.2em;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #FFB347;
    background-color: #001f3f; /* very dark blue */
    color: #ccf;               /* very light blue text */
    box-sizing: border-box;
}
input::placeholder {
    color: rgba(204, 204, 255, 0.7);
}

/* Checkbox sections */
.checkbox-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 300px;
    margin: 0.75rem auto;
    padding-left: 0;
    text-align: left;
}
.checkbox-section label {
    margin-left: 0.5rem;
    color: white;
}

/* Notice about age */
.notice {
    font-size: 0.9rem;
    color: #FFFFFF;
    margin: 1rem 0;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Register button */
#registerBtn {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 1rem auto 0;
    padding: 20px 40px;
    font-size: 1.5em;
    background-color: #FF0000;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}
#registerBtn:disabled {
    background-color: #666;
    color: #ccc;
    cursor: not-allowed;
    pointer-events: auto;
}
#registerBtn.enabled {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}
#registerBtn.enabled:hover {
    background-color: #CC0000;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.7);
}

#registerBtn.disabled-look {
    background-color: #666;
    color: #ccc;
    cursor: not-allowed;
}

/* Link styles */
a {
    color: #FFB347;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* register_main.css */

.forgot-pw {
  margin-top: 0.5rem;
}
.forgot-pw a {
  color: #FFB347;
  font-size: 0.9em;
}

/* login prompt styling */
.login-prompt {
  margin-top: 1rem;
  font-size: 0.9em;
  color: #FFB347;
}
.login-prompt a {
  color: #FFFFFF;
  text-decoration: underline;
}


/* Responsive */
@media (max-width: 400px) {
    header {
        flex-direction: column;
    }
    .logo {
        margin: 0 0 8px;
    }
}


/* Coupon Form */
#coupon-form {
    max-width: 300px;
    margin: 1rem auto;
}
#coupon-form input[type="text"] {
    display: block;
    width: 100%;
    font-size: 1.2em;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #FFB347;
    background-color: #001f3f;
    color: #ccf;
    box-sizing: border-box;
}
#coupon-form button {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 1rem auto 0;
    padding: 15px;
    font-size: 1.2em;
    background-color: #0056b3;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}
#coupon-form button:hover {
    background-color: #FF8C00;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.7);
}

/* Coupon Message */
#coupon-message {
    margin-top: 1rem;
    min-height: 1.2em;
    font-size: 1em;
    color: #FFB347;
}

/* Payment Options */
.payment-options {
    max-width: 300px;
    margin: 2rem auto;
}
.payment-options h3 {
    font-size: 1.2em;
    color: #FFB347;
    margin-bottom: 1rem;
}
.payment-options button {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    padding: 15px;
    font-size: 1.1em;
    background-color: #0056b3;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.payment-options button:hover {
    background-color: #FF8C00;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.7);
}
.coupon-notice {
    font-size: 0.9em;
    color: #FFFFFF;
    margin-top: 1rem;
    text-align: center;
}

.waiver-frame {
    width: 100%;
    max-width: 320px;
    height: 220px;
    border: 2px solid #FFB347;
    border-radius: 8px;
    margin: 15px auto;
    display: block;
}

.document-links {
    text-align: center;
    margin: 10px auto;
    max-width: 320px;
}

.document-links a {
    color: #FFB347;
    font-size: 0.85em;
    margin: 0 5px;
}

.scroll-hint.unlocked {
    color: #4CAF50;
    animation: none;
}

/* ─── Accordion Waiver ─────────────────────────────────────────────────────── */
.accordion-waiver {
    max-width: 320px;
    margin: 15px auto;
}

.accordion-trigger {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: bold;
    background: linear-gradient(135deg, #FFB347, #ff8c00);
    color: #002645;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.accordion-trigger:hover {
    background: linear-gradient(135deg, #ffcc80, #FFB347);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 179, 71, 0.4);
}

.accordion-trigger.open {
    border-radius: 8px 8px 0 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
    border-radius: 0 0 8px 8px;
    border: 2px solid #FFB347;
    border-top: none;
}

.accordion-content.open {
    max-height: 500px;
}

.waiver-scroll-area {
    max-height: 250px;
    overflow-y: auto;
    padding: 20px;
    color: #333;
    font-size: 0.9em;
    line-height: 1.6;
    text-align: left;
}

/* White background scrollbar */
.waiver-scroll-area::-webkit-scrollbar {
    width: 8px;
}
.waiver-scroll-area::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}
.waiver-scroll-area::-webkit-scrollbar-thumb {
    background: #FFB347;
    border-radius: 4px;
}

#waiverText h1, #waiverText h2 {
    color: #002645;
    font-size: 1.1em;
    margin-top: 15px;
}
#waiverText ul {
    padding-left: 20px;
}
#waiverText hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 15px 0;
}

/* ─── Consent Checkbox ────────────────────────────────────────────────────── */
.consent-checkbox-section {
    display: flex;
    align-items: flex-start;
    max-width: 320px;
    margin: 15px auto;
    text-align: left;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.3s;
}
.consent-checkbox-section.enabled {
    background-color: rgba(255, 179, 71, 0.15);
}
.consent-checkbox-section {
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 179, 71, 0.3);
}

.consent-checkbox-section input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 10px;
    transform: scale(1.3);
    accent-color: #FFB347;
}
.consent-checkbox-section input[type="checkbox"]:disabled {
    opacity: 0.4;
}
.consent-checkbox-section label {
    color: #ccc;
    font-size: 0.88em;
    line-height: 1.35;
}
.consent-checkbox-section.enabled label {
    color: #fff;
}

/* ─── Document Links ──────────────────────────────────────────────────────── */
.document-links {
    text-align: center;
    margin: 10px auto;
    max-width: 320px;
}
.document-links a {
    color: #FFB347;
    font-size: 0.85em;
    margin: 0 5px;
}

/* ─── Scroll Hint ─────────────────────────────────────────────────────────── */
.scroll-hint {
    text-align: center;
    color: #FFB347;
    font-size: 0.85em;
    margin-bottom: 8px;
}
.scroll-hint.reading {
    color: #ccc;
}
.scroll-hint.unlocked {
    color: #4CAF50;
}