/* registration.css - استایل‌های مشترک برای تمام مراحل ثبت‌نام */

/* ============================================
   Variables & Reset
   ============================================ */
:root {
    --primary-start: #667eea;
    --primary-end: #764ba2;
    --success-start: #48c774;
    --success-end: #3ecf8e;
    --danger: #ff4757;
    --warning: #ffc107;
    --dark: #2c3e50;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ============================================
   Base Container
   ============================================ */
.registration-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    padding: 60px 0;
    position: relative;
    overflow-x: hidden;
}

.registration-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================
   Modern Progress Steps
   ============================================ */
.modern-progress-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 120px;
}

.step-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.step-icon i {
    font-size: 20px;
    color: #adb5bd;
    transition: var(--transition);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #ced4da;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Active Step */
.step-item.active .step-icon {
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.step-item.active .step-icon i {
    color: white;
}

.step-item.active .step-number {
    background: var(--danger);
    animation: pulse 1s infinite;
}

.step-item.active .step-title {
    color: var(--primary-start);
}

/* Completed Step */
.step-item.completed .step-icon {
    background: linear-gradient(135deg, var(--success-start), var(--success-end));
}

.step-item.completed .step-icon i {
    color: white;
}

.step-item.completed .step-number {
    background: #2cbd6e;
}

.step-info .step-title {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    margin-bottom: 2px;
}

.step-info .step-desc {
    font-size: 11px;
    color: #6c757d;
}

.step-line {
    flex: 0.5;
    height: 2px;
    background: #e9ecef;
    margin: 0 15px;
    transition: var(--transition);
}

.step-line.active {
    background: linear-gradient(90deg, var(--success-start), var(--success-end));
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ============================================
   Main Cards
   ============================================ */
.registration-card,
.verification-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateY(0);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.registration-card:hover,
.verification-card:hover {
    transform: translateY(-5px);
}

/* Card Header */
.card-header-modern {
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    padding: 35px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.card-header-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.header-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.header-text h2 {
    color: white;
    font-size: 28px;
    margin: 0;
    font-weight: 700;
}

.header-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 8px 0 0;
    font-size: 14px;
}

/* Card Body */
.card-body-modern {
    padding: 40px;
}

/* ============================================
   Form Styles
   ============================================ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.form-label i {
    color: var(--primary-start);
    margin-right: 8px;
    width: 18px;
}

.required {
    color: var(--danger);
    margin-right: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--light-gray);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-start);
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group input.is-invalid {
    border-color: var(--danger);
    background: #fff5f5;
}

.form-hint {
    font-size: 12px;
    color: var(--gray);
    margin-top: 8px;
}

.form-hint i {
    margin-right: 6px;
    color: var(--primary-start);
}

.form-error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-error::before {
    content: "⚠";
    font-size: 12px;
}

/* ============================================
   Username Preview
   ============================================ */
.username-preview-wrapper {
    background: #f0f0f0;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 10px;
}

.username-preview-label {
    font-size: 12px;
    color: var(--gray);
    display: block;
    margin-bottom: 4px;
}

.username-preview-value {
    font-family: monospace;
    font-size: 13px;
    color: var(--primary-start);
    font-weight: 600;
    direction: ltr;
    display: inline-block;
}

/* ============================================
   Terms & Checkbox
   ============================================ */
.terms-section {
    margin: 30px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 22px;
    height: 22px;
    background: var(--light-gray);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: inline-block;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-container:hover .checkmark {
    border-color: var(--primary-start);
}

.checkbox-container input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    border-color: var(--primary-start);
}

.checkbox-container input:checked ~ .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    color: #495057;
    font-size: 14px;
}

.terms-link {
    color: var(--primary-start);
    text-decoration: none;
    margin-right: 5px;
}

.terms-link:hover {
    text-decoration: underline;
}

/* ============================================
   Buttons
   ============================================ */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 25px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   Login Redirect
   ============================================ */
.login-redirect {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.login-redirect span {
    color: var(--gray);
    font-size: 14px;
}

.login-redirect a {
    color: var(--primary-start);
    text-decoration: none;
    font-weight: 600;
    margin-right: 8px;
}

.login-redirect a:hover {
    text-decoration: underline;
}

.back-link {
    margin-top: 20px;
    text-align: center;
}

.back-link a {
    color: var(--gray);
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.back-link a:hover {
    color: var(--primary-start);
}

/* ============================================
   Custom Alert
   ============================================ */
.custom-alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-alert.success {
    background: #d4edda;
    color: #155724;
    border-right: 4px solid #28a745;
}

.custom-alert.error,
.custom-alert.danger {
    background: #f8d7da;
    color: #721c24;
    border-right: 4px solid #dc3545;
}

.custom-alert.warning {
    background: #fff3cd;
    color: #856404;
    border-right: 4px solid #ffc107;
}

.custom-alert.info {
    background: #d1ecf1;
    color: #0c5460;
    border-right: 4px solid #17a2b8;
}

.custom-alert i {
    font-size: 18px;
    flex-shrink: 0;
}

/* ============================================
   OTP / Verification Specific
   ============================================ */
.sms-animation {
    margin-bottom: 30px;
}

.sms-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sms-icon-wrapper i {
    font-size: 48px;
    color: white;
}

.sms-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(102, 126, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

.verification-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.verification-subtitle {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
}

.mobile-number {
    color: var(--primary-start);
    font-size: 16px;
    direction: ltr;
    display: inline-block;
}

/* OTP Input */
.otp-input-container {
    margin-bottom: 30px;
}

.otp-label {
    display: block;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.otp-input {
    width: 55px;
    height: 65px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--light-gray);
    transition: var(--transition);
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary-start);
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Resend Section */
.resend-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.resend-text {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.btn-resend {
    background: none;
    border: none;
    color: var(--primary-start);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-resend:hover {
    color: var(--primary-end);
    transform: translateX(-3px);
}

.btn-resend:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.resend-timer {
    margin-top: 12px;
    color: var(--gray);
    font-size: 13px;
}

/* ============================================
   Plans Page Specific
   ============================================ */
.plans-header {
    text-align: center;
    margin-bottom: 40px;
}

.plans-title {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.plans-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Plan Card */
.plan-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.plan-card.plan-featured {
    background: linear-gradient(135deg, #fff9e6, #ffffff);
    border: 2px solid var(--warning);
    transform: scale(1.02);
}

.plan-card.plan-featured:hover {
    transform: translateY(-10px) scale(1.02);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--warning), #ff9800);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.plan-icon i {
    font-size: 36px;
    color: white;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.plan-price {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.old-price {
    font-size: 14px;
    color: #adb5bd;
    text-decoration: line-through;
    display: block;
}

.new-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-start);
    display: inline-block;
}

.currency {
    font-size: 14px;
    color: var(--gray);
    margin-right: 4px;
}

.discount-badge {
    display: inline-block;
    background: var(--danger);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.plan-duration {
    text-align: center;
    background: var(--light-gray);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-start);
}

.plan-duration i {
    margin-right: 8px;
}

.plan-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item i {
    color: var(--success-start);
    font-size: 16px;
    flex-shrink: 0;
}

.feature-item span {
    color: #495057;
    font-size: 14px;
}

.plan-select-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.plan-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Comparison Table */
.comparison-section {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
}

.comparison-header {
    text-align: center;
    margin-bottom: 30px;
}

.comparison-header h4 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.comparison-header p {
    color: var(--gray);
    font-size: 14px;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid var(--border-color);
}

.comparison-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table .feature-name {
    font-weight: 600;
    color: #495057;
    text-align: right;
}

.comparison-table .feature-value {
    color: #6c757d;
}

.comparison-table i.fa-check {
    color: var(--success-start);
    font-size: 18px;
}

.comparison-table i.fa-times {
    font-size: 18px;
    color: #adb5bd;
}

/* Empty Plans */
.empty-plans {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 24px;
}

.empty-plans i {
    font-size: 64px;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-plans p {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 10px;
}

.empty-plans span {
    color: #adb5bd;
    font-size: 14px;
}

/* ============================================
   Success Page Specific
   ============================================ */
.success-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    padding: 60px 0;
}

.success-card {
    background: white;
    border-radius: 40px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Success Animation */
.success-animation {
    position: relative;
    margin-bottom: 30px;
}

.success-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--success-start), var(--success-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    animation: scaleIn 0.5s ease;
}

.success-checkmark {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-checkmark i {
    font-size: 32px;
    color: var(--success-start);
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--success-start), var(--success-end));
    border-radius: 50%;
    animation: particleFloat 1.5s ease-out forwards;
}

.success-particles span:nth-child(1) { top: 20px; left: 30%; animation-delay: 0s; }
.success-particles span:nth-child(2) { top: 10px; right: 25%; animation-delay: 0.2s; }
.success-particles span:nth-child(3) { bottom: 30px; left: 20%; animation-delay: 0.4s; }
.success-particles span:nth-child(4) { bottom: 20px; right: 35%; animation-delay: 0.6s; }
.success-particles span:nth-child(5) { top: 50%; left: 15%; animation-delay: 0.8s; }
.success-particles span:nth-child(6) { top: 40%; right: 10%; animation-delay: 1s; }

@keyframes particleFloat {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(20px, -30px) scale(0); opacity: 0; }
}

.success-content {
    margin-bottom: 40px;
}

.success-title {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.success-subtitle {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.success-message {
    color: var(--gray);
    font-size: 14px;
}

/* User Info Card */
.user-info-card {
    background: var(--light-gray);
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: right;
}

.user-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.user-avatar i {
    font-size: 60px;
    color: var(--primary-start);
}

.user-welcome .welcome-text {
    font-size: 12px;
    color: var(--gray);
    display: block;
}

.user-welcome .user-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.user-info-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
}

.info-label i {
    color: var(--primary-start);
    font-size: 14px;
}

.info-value {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
    direction: ltr;
}

.card-link {
    color: var(--primary-start);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    text-decoration: underline;
}

.plan-badge {
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    padding: 4px 12px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-primary-large,
.btn-secondary-large {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    color: white;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-secondary-large {
    background: var(--light-gray);
    color: var(--primary-start);
    border: 1px solid var(--border-color);
}

.btn-secondary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    color: var(--primary-start);
}

.btn-primary-large i,
.btn-secondary-large i {
    font-size: 32px;
}

.btn-content {
    text-align: right;
    flex: 1;
}

.btn-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.btn-subtitle {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

/* Next Steps */
.next-steps {
    background: linear-gradient(135deg, var(--light-gray), #fff);
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 30px;
}

.next-steps h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: right;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
}

.step-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 12px;
    color: var(--gray);
    margin: 0;
}

/* Share Section */
.share-section {
    text-align: center;
}

.share-title {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.share-btn.whatsapp { background: #25D366; color: white; }
.share-btn.telegram { background: #0088cc; color: white; }
.share-btn.linkedin { background: #0077b5; color: white; }
.share-btn.copy { background: var(--gray); color: white; }

.share-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

/* ============================================
   Toast Notification
   ============================================ */
.custom-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #2c3e50;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transition: transform 0.3s ease;
    opacity: 0;
    font-size: 14px;
}

.custom-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.custom-toast.success {
    background: linear-gradient(135deg, var(--success-start), var(--success-end));
}

.custom-toast.error {
    background: linear-gradient(135deg, var(--danger), #c82333);
}

/* ============================================
   Loading Spinner
   ============================================ */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .registration-container {
        padding: 40px 15px;
    }
    
    .card-header-modern {
        padding: 25px 30px;
    }
    
    .card-body-modern {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-line {
        width: 2px;
        height: 30px;
        margin: 0;
    }
    
    .step-item {
        width: 100%;
    }
    
    .card-header-modern {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .card-body-modern {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plan-card.plan-featured {
        transform: scale(1);
    }
    
    .plan-card.plan-featured:hover {
        transform: translateY(-10px);
    }
    
    .plans-title {
        font-size: 28px;
    }
    
    .comparison-section {
        padding: 20px;
        overflow-x: auto;
    }
    
    .success-card {
        padding: 30px 20px;
        border-radius: 30px;
    }
    
    .success-title {
        font-size: 28px;
    }
    
    .user-info-header {
        flex-direction: column;
        text-align: center;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-value {
        width: 100%;
        word-break: break-all;
    }
    
    .otp-input {
        width: 45px;
        height: 55px;
        font-size: 20px;
    }
    
    .otp-inputs {
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .header-text h2 {
        font-size: 22px;
    }
    
    .header-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .step-item {
        min-width: auto;
    }
    
    .step-info .step-title {
        font-size: 12px;
    }
    
    .step-info .step-desc {
        font-size: 10px;
    }
}