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

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

.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
}

/* Left Side - Form */
.register-form-side {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
}

.register-box {
    width: 100%;
    max-width: 480px;
}

.logo-section {
    margin-bottom: 40px;
}

.back-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.logo-icon {
    font-size: 28px;
}

h1 {
    font-size: 32px;
    margin-bottom: 8px;
    color: #333;
}

.subtitle {
    color: #666;
    margin-bottom: 32px;
}

/* Plan Selector */
.plan-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.plan-option {
    cursor: pointer;
}

.plan-option input[type="radio"] {
    display: none;
}

.plan-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.plan-option input[type="radio"]:checked + .plan-card {
    border-color: #667eea;
    background: #f0f4ff;
}

.plan-card.popular {
    border-color: #667eea;
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 600;
}

.plan-name {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.plan-price {
    display: block;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
}

/* Form */
.form {
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.password-strength {
    margin-top: 8px;
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s;
}

.password-strength.weak {
    background: #ff4444;
    width: 33%;
}

.password-strength.medium {
    background: #ffaa00;
    width: 66%;
}

.password-strength.strong {
    background: #00C851;
    width: 100%;
}

.checkbox-group {
    margin-top: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: none;
}

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

/* Messages */
.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

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

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

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

/* Button */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-footer {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.form-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Right Side - Benefits */
.register-info-side {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.info-content h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.benefit {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefit h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.benefit p {
    opacity: 0.9;
    line-height: 1.6;
}

.testimonial {
    margin-top: 60px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.quote {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.author {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 968px) {
    .register-container {
        grid-template-columns: 1fr;
    }

    .register-info-side {
        display: none;
    }

    .register-form-side {
        padding: 20px;
    }

    .plan-selector {
        grid-template-columns: 1fr;
    }
}
