/* ZazziPay Register Screen - Identical to Print */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
}

.register-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Left Side - Logo Area */
.left-side {
    flex: 1;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

.logo-text {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -1px;
}

/* Right Side - Form Area */
.right-side {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.register-form-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Top Icons */
.top-icons {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.icon-label {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

/* Welcome Section */
.welcome-section {
    text-align: left;
    margin-bottom: 8px;
}

.welcome-section h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.2;
}

.welcome-section p {
    font-size: 16px;
    color: #6b7280;
    font-weight: 400;
}

/* Register Form */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 16px;
    padding-left: 45px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background: white;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.input-wrapper input::placeholder {
    color: #9ca3af;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

/* Register Button */
.register-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    margin-top: 8px;
}

.register-btn:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.register-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    font-size: 18px;
    font-weight: 400;
}

/* Register Footer */
.register-footer {
    text-align: center;
    margin-top: 8px;
}

.register-footer p {
    font-size: 14px;
    color: #6b7280;
}

.login-link {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.login-link:hover {
    color: #d97706;
    text-decoration: underline;
}

/* Input Validation States */
.input-wrapper.valid input {
    border-color: #10b981;
}

.input-wrapper.invalid input {
    border-color: #ef4444;
}

.input-wrapper.focused input {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.input-wrapper.has-value .input-icon {
    color: #f59e0b;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.password-strength.weak {
    color: #ef4444;
}

.password-strength.medium {
    color: #f59e0b;
}

.password-strength.strong {
    color: #10b981;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-container {
        flex-direction: column;
    }
    
    .left-side {
        flex: none;
        height: 180px;
        padding: 20px;
    }
    
    .logo-main {
        gap: 12px;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .logo-text {
        font-size: 32px;
    }
    
    .right-side {
        flex: 1;
        padding: 20px;
    }
    
    .register-form-container {
        max-width: 100%;
        gap: 20px;
    }
    
    .welcome-section h1 {
        font-size: 24px;
    }
    
    .top-icons {
        justify-content: center;
    }
    
    .register-form {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .left-side {
        height: 150px;
        padding: 16px;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .right-side {
        padding: 16px;
    }
    
    .welcome-section h1 {
        font-size: 22px;
    }
    
    .welcome-section p {
        font-size: 14px;
    }
    
    .register-form {
        gap: 14px;
    }
    
    .form-group {
        gap: 6px;
    }
    
    .register-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Loading Animation */
.register-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.register-btn.loading .btn-arrow {
    animation: spin 1s linear infinite;
}

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

/* Success Animation */
.register-btn.success {
    background: #10b981;
}

.register-btn.success .btn-arrow {
    animation: none;
}

/* Error shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.input-wrapper.error {
    animation: shake 0.3s ease-in-out;
}

/* Form validation messages */
.validation-message {
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.validation-message.error {
    color: #ef4444;
    display: block;
}

.validation-message.success {
    color: #10b981;
    display: block;
}
