/* Registration Page Styles */

body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.header {
    margin-bottom: 40px;
}

/* Registration Container */
.registration-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    padding: 50px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.registration-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0088cc, #00cc66);
}

.registration-title {
    font-size: 36px;
    background: linear-gradient(135deg, #0088cc, #00cc66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.info-box {
    background: linear-gradient(135deg, #e3f2fd, #f3f9ff);
    border-left: 5px solid #0088cc;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.1);
}

.info-box h3 {
    color: #0088cc;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Form Styles */
.registration-form {
    margin-top: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label span {
    color: #ff0000;
}

.form-group label i {
    color: #0088cc;
    font-size: 18px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0088cc;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 136, 204, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-hint {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-hint i {
    color: #0088cc;
}

/* Payment Button */
.payment-section {
    margin-top: 50px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 3px dashed #0088cc;
}

.payment-amount {
    font-size: 56px;
    background: linear-gradient(135deg, #0088cc, #00cc66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    margin-bottom: 15px;
}

.payment-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.payment-badge {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.payment-badge i {
    color: #0088cc;
}

.payment-btn {
    background: linear-gradient(135deg, #00cc66, #00a854);
    color: white;
    padding: 18px 60px;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 6px 25px rgba(0, 204, 102, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.payment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 204, 102, 0.5);
}

.payment-btn:disabled {
    background: linear-gradient(135deg, #ccc, #999);
    cursor: not-allowed;
    transform: none;
}

/* Error Messages */
.error-message {
    color: #ff0000;
    font-size: 14px;
    margin-top: 8px;
    display: none;
    align-items: center;
    gap: 6px;
}

.form-group.error input,
.form-group.error select {
    border-color: #ff0000;
    background: #fff5f5;
}

.form-group.error .error-message {
    display: flex;
}

/* Success Page */
.success-container {
    display: none;
    text-align: center;
    padding: 60px 30px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #00cc66, #00a854);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.6s ease-out;
    box-shadow: 0 10px 30px rgba(0, 204, 102, 0.3);
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-icon i {
    font-size: 50px;
    color: white;
}

.success-title {
    font-size: 42px;
    background: linear-gradient(135deg, #0088cc, #00cc66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    font-weight: bold;
}

.success-message {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.user-data {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 35px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.user-data h3 {
    background: linear-gradient(135deg, #0088cc, #00cc66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    text-align: center;
    font-size: 24px;
}

.data-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 2px solid #e0e0e0;
}

.data-row:last-child {
    border-bottom: none;
}

.data-label {
    font-weight: 600;
    min-width: 220px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.data-label i {
    color: #0088cc;
}

.data-value {
    color: #555;
}

.home-btn {
    background: linear-gradient(135deg, #0088cc, #0056b3);
    color: white;
    padding: 15px 50px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.3);
}

.home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.4);
}

/* Loading Spinner */
.loading {
    display: none;
    margin-top: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0088cc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .registration-container {
        padding: 30px 20px;
    }
    
    .registration-title {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-amount {
        font-size: 42px;
    }
    
    .payment-btn {
        padding: 15px 30px;
        font-size: 18px;
    }
    
    .data-row {
        flex-direction: column;
    }
    
    .data-label {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .payment-methods {
        flex-direction: column;
        align-items: center;
    }
}
