/* Postman-style Register Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

/* Left Section - Why Sign Up */
.left-section {
    flex: 1;
    background: linear-gradient(135deg, #0a66c2 0%, #0077b5 100%);
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.left-content {
    position: relative;
    z-index: 2;
}

.icon-container {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.icon-container .logo-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.left-section h1 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
}

.benefit-icon {
    width: 8px;
    height: 8px;
    background: #ffffff;
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-top: 8px;
}

.illustration {
    margin-top: 60px;
    opacity: 0.9;
}

.illustration svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Right Section - Registration Form */
.right-section {
    flex: 1;
    background: #ffffff;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.form-container {
    width: 100%;
    max-width: 440px;
}

.form-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #d0d0d0;
    border-radius: 6px;
    background: #ffffff;
    color: #1a1a1a;
    transition: all 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: #0a66c2;
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

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

.password-group {
    position: relative;
}

.password-toggle-link {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #0a66c2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.password-toggle-link:hover {
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0a66c2;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-label {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label a {
    color: #0a66c2;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.verification-box {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
    display: none;
    align-items: center;
    gap: 12px;
}

.verification-box.show {
    display: flex;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: #4CAF50;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.verification-text {
    color: #666666;
    font-size: 14px;
}

.legal-text {
    font-size: 13px;
    color: #666666;
    margin-bottom: 24px;
    line-height: 1.5;
}

.legal-text a {
    color: #0a66c2;
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    padding: 14px 24px;
    background: #0a66c2;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 24px;
}

.btn-primary:hover {
    background: #004182;
}

.btn-primary:active {
    transform: translateY(1px);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: #999999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider span {
    padding: 0 16px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.btn-social {
    width: 100%;
    padding: 12px 24px;
    background: #ffffff;
    border: 2px solid #d0d0d0;
    border-radius: 6px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-social:hover {
    background: #f8f9fa;
    border-color: #0a66c2;
}

.btn-social svg {
    width: 20px;
    height: 20px;
}

.signin-link {
    text-align: center;
    font-size: 14px;
    color: #666666;
}

.signin-link a {
    color: #0a66c2;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.signin-link a:hover {
    text-decoration: underline;
}

.error-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #856404;
    font-size: 14px;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    background: #d4edda;
    border: 1px solid #28a745;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #155724;
    font-size: 14px;
    display: none;
}

.success-message.show {
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .left-section {
        padding: 40px 60px;
    }
    
    .right-section {
        padding: 40px 60px;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    
    .left-section {
        padding: 40px 32px;
        min-height: auto;
    }
    
    .left-section h1 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .benefits-list li {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .illustration {
        display: none;
    }
    
    .right-section {
        padding: 40px 32px;
        max-width: 100%;
    }
    
    .form-container {
        max-width: 100%;
    }
}

