/**
 * Registration Page Styles
 */

/* ============================================
   Register Page Layout
   ============================================ */

.register-page {
    min-height: 100vh;
    background: var(--color-slate-50);
}

.register-content {
    padding-top: 80px; /* Header height */
    min-height: calc(100vh - 80px);
}

.register-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

/* ============================================
   Info Section (Left)
   ============================================ */

.register-info {
    position: sticky;
    top: 100px;
}

.register-title {
    font-family: var(--font-display-hero);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-slate-900);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.register-subtitle {
    font-size: var(--text-xl);
    color: var(--color-slate-600);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.register-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.benefit-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-green-500), var(--color-green-600));
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 700;
}

.benefit-item h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-slate-900);
    margin-bottom: var(--space-1);
}

.benefit-item p {
    font-size: var(--text-base);
    color: var(--color-slate-600);
}

/* ============================================
   Form Section (Right)
   ============================================ */

.register-form-container {
    display: flex;
    justify-content: center;
}

.register-form-card {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-8);
}

.form-title {
    font-family: var(--font-display-hero);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-slate-900);
    margin-bottom: var(--space-6);
    text-align: center;
}

/* ============================================
   Form Elements
   ============================================ */

.register-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-slate-700);
}

.form-input {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    border: 2px solid var(--color-slate-300);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-predictator-orange);
    box-shadow: 0 0 0 3px rgba(222, 88, 15, 0.1);
}

.form-input::placeholder {
    color: var(--color-slate-400);
}

.form-hint {
    font-size: var(--text-xs);
    color: var(--color-slate-500);
}

/* ============================================
   Plan Selector
   ============================================ */

.plan-selector {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.plan-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border: 2px solid var(--color-slate-300);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.plan-option:hover {
    border-color: var(--color-orange-300);
    background: var(--color-orange-50);
}

.plan-option-selected {
    border-color: var(--color-predictator-orange);
    background: var(--color-orange-50);
}

.plan-option input[type="radio"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-predictator-orange);
}

.plan-option-content {
    flex: 1;
}

.plan-option-name {
    font-weight: 600;
    color: var(--color-slate-900);
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.plan-option-desc {
    font-size: var(--text-sm);
    color: var(--color-slate-600);
}

.plan-badge {
    display: inline-block;
    padding: 2px var(--space-2);
    background: var(--color-predictator-orange);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-left: var(--space-2);
}

/* ============================================
   Checkbox
   ============================================ */

.form-checkbox {
    display: flex;
    gap: var(--space-2);
    align-items: flex-start;
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--color-slate-700);
}

.form-checkbox input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: var(--color-predictator-orange);
}

.form-link {
    color: var(--color-predictator-orange);
    text-decoration: none;
    font-weight: 500;
}

.form-link:hover {
    text-decoration: underline;
}

/* ============================================
   Submit Button
   ============================================ */

.btn-submit {
    width: 100%;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    font-weight: 600;
    background: var(--color-predictator-orange);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.btn-submit:hover:not(:disabled) {
    background: var(--color-orange-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   Error Message
   ============================================ */

.error-message {
    padding: var(--space-3) var(--space-4);
    background: var(--color-red-50);
    border: 1px solid var(--color-red-300);
    border-radius: var(--radius-lg);
    color: var(--color-red-700);
    font-size: var(--text-sm);
}

/* ============================================
   Form Footer
   ============================================ */

.form-footer {
    margin-top: var(--space-6);
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-slate-200);
}

.form-footer p {
    font-size: var(--text-sm);
    color: var(--color-slate-600);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 968px) {
    .register-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .register-info {
        position: static;
    }

    .register-title {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 640px) {
    .register-form-card {
        padding: var(--space-6);
    }

    .register-title {
        font-size: var(--text-2xl);
    }

    .register-subtitle {
        font-size: var(--text-lg);
    }
}
