
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary: #6c5ce7;
    --primary-dark: #5b4bd4;
    --secondary: #00cec9;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --input-bg: #2a2a2a;
    --text-light: #f5f6fa;
    --text-gray: #b2bec3;
    --success: #00b894;
    --error: #ff7675;
    --transition: all 0.3s ease;
}

body {
    background: var(--dark-bg);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-page {
    display: flex;
    max-width: 1200px;
    width: 100%;
    height: 90vh;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Left side - Branding */
.brand-container {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), #8e44ad);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.brand-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.logo-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    z-index: 1;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo-circle img {
    width: 70px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.brand-container h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
    z-index: 1;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.slogan {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 350px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
    line-height: 1.6;
}

.brand-features {
    margin-top: 40px;
    text-align: left;
    z-index: 1;
    width: 100%;
    max-width: 350px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature i {
    background: rgba(255, 255, 255, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Right side - Registration Form */
.auth-container {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: var(--card-bg);
}

.auth-header {
    margin-bottom: 40px;
    position: relative;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-header p {
    color: var(--text-gray);
    font-size: 16px;
}

.step-indicator {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60px;
    right: 0;
    height: 2px;
    background: var(--input-bg);
    z-index: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--input-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 10px;
    z-index: 1;
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(108, 92, 231, 0.2);
}

.step-label {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
}

.step.active .step-label {
    color: var(--text-light);
    font-weight: 500;
}

#registerForm {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.form-step.active {
    display: block;
}

.input-group {
    position: relative;
    margin-bottom: 10px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 18px;
}

.auth-container input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border-radius: 12px;
    background: var(--input-bg);
    border: 2px solid transparent;
    color: var(--text-light);
    font-size: 16px;
    transition: var(--transition);
}

.auth-container input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.3);
}

.auth-container input::placeholder {
    color: var(--text-gray);
}

.password-strength {
    height: 4px;
    background: var(--input-bg);
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.strength-meter {
    height: 100%;
    width: 0;
    background: var(--error);
    transition: var(--transition);
}

.password-rules {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-gray);
}

.password-rules ul {
    padding-left: 20px;
    margin-top: 5px;
}

.password-rules li {
    margin-bottom: 3px;
}

.password-rules .valid {
    color: var(--success);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-gray);
    border: 2px solid var(--input-bg);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 15px;
    color: var(--text-gray);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-footer a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 900px) {
    .auth-page {
        flex-direction: column;
        height: auto;
    }
    
    .brand-container {
        padding: 40px 20px;
    }
    
    .auth-container {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
}

/* Stop generic H1 gradient from overriding the logo in the brand panel */
.brand-container h1 {
  background: none;
  -webkit-text-fill-color: currentColor; /* Safari */
  color: #fff; /* other headings remain readable */
}

/* VAWULENCE wordmark: violet → pink gradient like the sidebar */
.brand-container h1.logo-wordmark {
  background-image: linear-gradient(to right, #6c5ce7, #fd79a8);
  background-clip: text;                 /* Firefox/modern */
  -webkit-background-clip: text;         /* WebKit */
  color: transparent;                    /* Firefox/modern */
  -webkit-text-fill-color: transparent;  /* WebKit */
  display: inline-block;                 /* reliable clipping */
  letter-spacing: -1px;
  font-weight: 900;
}

/* Slogan styling (subtle, readable) */
.brand-container .slogan {
  color: #b2bec3;
  font-size: clamp(13px, 2.8vw, 16px);
  margin-top: 5px;
}

/* Optional: if any global sheen/animation makes it look washed out, remove it:
.logo-wordmark::after { display: none !important; } */
