/* register.css - orbits8 Registration Page */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2962ff;
    --accent: #00e676;
    --dark-bg: #0a0f1c;
    --card-bg: rgba(18, 28, 45, 0.95);
    --border-light: rgba(68, 255, 170, 0.15);
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    --error-red: #ff4757;
    --success-green: #00e676;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    overflow: hidden;
    height: 100vh;
}

/* Animated Graph Background */
.graph-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.register-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

/* Register Container - Split Screen */
.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-light);
    max-height: 90vh;
    overflow-y: auto;
}

.register-container::-webkit-scrollbar {
    width: 6px;
}

.register-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.register-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

/* Left Side - Description */
.register-left {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(41, 98, 255, 0.05));
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-info {
    max-width: 400px;
}

.logo-large {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.logo-large i {
    font-size: 2.5rem;
    color: var(--accent);
}

.logo-large h1 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.brand-info > p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 0.2rem;
}

.feature h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.feature p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* Right Side - Registration Form */
.register-right {
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Form Styles */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-group label i {
    color: var(--accent);
    font-size: 0.9rem;
}

.input-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 230, 118, 0.05);
}

.input-group input::placeholder {
    color: rgba(160, 174, 192, 0.5);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.toggle-password:hover {
    color: var(--accent);
}

.input-error {
    font-size: 0.75rem;
    color: var(--error-red);
    margin-top: 0.25rem;
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
    user-select: none;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s;
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input:checked ~ .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.terms-link {
    color: var(--accent);
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Register Button */
.register-btn {
    background: linear-gradient(135deg, var(--accent), #00b862);
    border: none;
    padding: 0.9rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    margin-top: 0.5rem;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.register-btn:active {
    transform: translateY(0);
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.login-link a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Loading State */
.register-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 968px) {
    .register-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .register-left {
        display: none;
    }
    
    .register-right {
        padding: 2rem;
    }
    
    .register-wrapper {
        padding: 1rem;
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .register-container {
        margin: 2rem auto;
    }
}

@media (max-width: 480px) {
    .register-right {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .features-list {
        gap: 1rem;
    }
}