body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    background-color: #f9fafb;
    min-height: 100vh;
}

.register-container {
    display: flex;
    min-height: 100vh;
    padding-top: 64px;
}

.register-hero {
    display: none;
    width: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.register-hero-content {
    max-width: 400px;
    color: white;
    z-index: 10;
}

.register-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.2;
}

.register-hero p {
    font-size: 1.125rem;
    color: rgba(219, 234, 254, 1);
    margin-bottom: 32px;
    line-height: 1.6;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
display: flex;
    align-items: center;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-text h3 {
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0 0 4px 0;
}

.benefit-text p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(219, 234, 254, 1);
}

.register-form-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

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

.register-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.register-header {
    text-align: center;
    margin-bottom: 32px;
}

.register-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.register-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
    margin: 0 0 12px 0;
}

.register-header p {
    color: #6b7280;
    margin: 0;
}

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

.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-label.required::after {
    content: ' *';
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    color: #111827;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 1);
}

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

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 4px;
}

.password-toggle:hover {
    color: #667eea;
}

.password-toggle:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    border-radius: 4px;
}

.password-strength {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.strength-bars {
    display: flex;
    gap: 4px;
}

.strength-bar {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: background-color 0.3s ease;
}

.strength-bar.active-weak { background: #ef4444; }
.strength-bar.active-fair { background: #f59e0b; }
.strength-bar.active-good { background: #eab308; }
.strength-bar.active-strong { background: #667eea; }

.strength-text {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

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

.checkbox-input {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #667eea;
}

.checkbox-input:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.checkbox-label {
    font-size: 0.875rem;
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-label a:hover {
    color: #4f46e5;
}

.register-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

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

.register-button:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

.login-link {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.login-link p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.login-link a {
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-link a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.login-link a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    border-radius: 4px;
}

.error-message {
    margin-bottom: 24px;
    padding: 16px;
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
}

.error-message p {
    color: #dc2626;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

.offer-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: center;
}

.offer-banner h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.offer-banner p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
}

/* Desktop Media Query */
@media (min-width: 1024px) {
    .register-hero {
        display: flex;
    }
    .register-form-container {
        width: 50%;
    }
    .form-group-row {
        grid-template-columns: 1fr 1fr;
    }
    .register-form {
        padding: 40px;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .register-container {
        padding-top: 80px;
    }
    .register-hero h1 {
        font-size: 2rem;
    }
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}
.skip-link:focus {
    top: 6px;
}

