/* ===== REGISTER PAGE ===== */
.register-page {
    background: var(--bg-dark);
}

.register-main {
    padding: 100px 0 60px;
}

.register-header {
    text-align: center;
    margin-bottom: 50px;
}

.register-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin: 12px 0;
}

.register-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Layout */
.register-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Form */
.register-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-section {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 24px;
    padding-bottom: 0;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.form-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-1);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.form-section-header h3 {
    font-size: 1.1rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c6c8a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.radio-label:hover {
    border-color: var(--primary);
}

.radio-label input[type="radio"] {
    width: auto;
    accent-color: var(--primary);
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--primary);
}

/* Agreement Box */
.agreement-box {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.agreement-box h4 {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.agreement-box ul {
    list-style: none;
    padding: 0;
}

.agreement-box li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.agreement-box li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--warning);
}

/* Form Actions */
.form-actions {
    text-align: center;
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Sidebar */
.register-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.register-sidebar .sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.register-sidebar .sidebar-card h3 {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.highlight-card {
    border-color: var(--primary) !important;
    background: rgba(108, 92, 231, 0.05) !important;
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Checklist */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checklist .check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.check-icon {
    color: var(--text-muted);
}

.check-item.complete .check-icon {
    color: var(--success);
}

/* Reward Info */
.reward-info {
    display: flex;
    flex-direction: column;
}

.reward-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.reward-row span:first-child {
    color: var(--text-secondary);
}

.reward-val {
    font-weight: 600;
    color: var(--accent);
}

.reward-row.total {
    border-bottom: none;
    padding-top: 12px;
    font-weight: 700;
}

.reward-row.total span:first-child {
    color: var(--text-primary);
}

/* Quick Facts */
.quick-facts {
    list-style: none;
    padding: 0;
}

.quick-facts li {
    padding: 6px 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(42, 42, 74, 0.5);
}

.quick-facts li:last-child {
    border-bottom: none;
}

/* Success Message (after submit) */
.success-message {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.success-message h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--success);
    margin-bottom: 12px;
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 900px) {
    .register-layout {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== WAITLIST PROGRESS BAR ===== */
.waitlist-progress-wrapper {
    margin-bottom: 16px;
}

.waitlist-progress-bar {
    height: 10px;
    background: var(--border);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 6px;
}

.waitlist-progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 5px;
    transition: width 0.8s ease;
}

.waitlist-progress-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* ===== WAITLIST CLOSED STATE ===== */
.waitlist-closed {
    text-align: center;
    padding: 60px 40px;
}

.closed-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.waitlist-closed h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--danger);
    margin-bottom: 12px;
    font-size: 1.8rem;
}

.waitlist-closed > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.closed-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
    text-align: left;
}

.closed-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.closed-info-item span {
    font-size: 1.4rem;
}

.closed-info-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== INVITE CODE NOTICE ===== */
.invite-code-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(0, 206, 201, 0.08);
    border: 1px solid rgba(0, 206, 201, 0.25);
    border-radius: 12px;
    margin: 20px 0;
    text-align: left;
}

.invite-icon {
    font-size: 1.8rem;
}

.invite-code-notice strong {
    display: block;
    color: var(--accent);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.invite-code-notice p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== FOLLOW REQUIREMENT ===== */
.follow-requirement {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 10px;
}

.follow-icon {
    font-size: 1.5rem;
}

.follow-requirement strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.follow-requirement p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.follow-requirement a {
    color: var(--accent);
    text-decoration: none;
}

.follow-requirement a:hover {
    text-decoration: underline;
}
