/* Registration Page Styles */
.registration-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.registration-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1d;
    margin: 0;
    flex: 1;
    text-align: center;
}

.header-signin {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.btn-signin-header {
    background: #1254ff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.registration-main {
    background: #f5f9fd;
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.registration-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side - Form */
.registration-form-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1254ff;
    margin-bottom: 10px;
}

.required-note {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.required {
    color: #e74c3c;
}

.registration-form {
    width: 100%;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

/* Account Type Cards */
.account-type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.account-type-card {
    display: block;
    cursor: pointer;
}

.account-type-card input[type="radio"] {
    display: none;
}

.card-content {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    position: relative;
}

.account-type-card:hover .card-content {
    border-color: #1254ff;
    background: #f5f9fd;
}

.account-type-card input[type="radio"]:checked + .card-content {
    border-color: #1254ff;
    background: #f5f9fd;
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1d;
}

.card-subtitle {
    font-size: 14px;
    color: #666;
}

.radio-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s;
}

.account-type-card input[type="radio"]:checked + .card-content .radio-indicator {
    border-color: #1254ff;
}

.account-type-card input[type="radio"]:checked + .card-content .radio-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #1254ff;
    border-radius: 50%;
}

/* Company Name Field */
.company-name-group {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-hint {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    line-height: 1.6;
}

/* Name Inputs */
.name-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #1254ff;
    box-shadow: 0 0 0 3px rgba(18, 84, 255, 0.1);
}

.form-input::placeholder {
    color: #999;
}

/* Terms Checkbox */
.terms-group {
    margin-top: 30px;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.terms-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s;
}

.terms-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: #1254ff;
    border-color: #1254ff;
}

.terms-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.terms-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.terms-link {
    color: #1254ff;
    text-decoration: none;
}

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

.form-error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
    background: #fee;
    border: 1px solid #e74c3c;
    border-radius: 6px;
}

/* Submit Button */
.btn-create-account {
    width: 100%;
    padding: 16px;
    background: #ffb838;
    color: #1d1d1d;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-create-account:hover {
    background: #e0ad05;
}

.btn-arrow {
    font-size: 24px;
    font-weight: normal;
}

/* Right Sidebar */
.registration-sidebar {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.sidebar-title {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1d;
    margin-bottom: 20px;
}

.sidebar-content {
    margin-bottom: 30px;
}

.sidebar-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.new-member-guide {
    background: #f5f9fd;
    border-left: 4px solid #1254ff;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-radius: 4px;
}

.guide-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.guide-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.guide-link {
    color: #1254ff;
    text-decoration: none;
    font-weight: 600;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .registration-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .registration-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .registration-layout {
        display: flex;
        flex-direction: column;
    }
    
    .registration-form-section {
        padding: 30px 20px;
        order: 1;
    }
    
    .registration-sidebar {
        padding: 30px 20px;
        order: 2;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .account-type-cards {
        grid-template-columns: 1fr;
    }
    
    .name-inputs {
        grid-template-columns: 1fr;
    }
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #1254ff;
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.notification-content span {
    font-size: 16px;
    font-weight: 600;
}

/* Step 2 - Verification Styles */
.verification-content-step2 {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.verification-icon-step2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.license-icon-step2 {
    width: 60px;
    height: 60px;
}

.section-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.verification-benefits-step2 {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid #1254ff;
}

.benefits-intro-step2 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.benefits-list-step2 {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.benefits-list-step2 li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

.benefit-icon-step2 {
    width: 22px;
    height: 22px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.verification-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn-verify-wallet {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
}

.skip-link {
    color: #1254ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.skip-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.verification-note-step2 {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    margin-top: 10px;
}

.note-text-step2 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.note-icon-step2 {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .verification-actions {
        align-items: stretch;
    }
    
    .skip-link {
        text-align: center;
    }
}
