/* Minimal & Authentic Registration Styles */

:root {
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #e5e5e5;
    --border: #ddd;
    --error: #d32f2f;
    --focus: #6e56cf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #fafafa;
    color: var(--dark);
    line-height: 1.6;
}

.register-page {
    min-height: 100vh;
    display: flex;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    align-items: stretch;
}

/* Main Form Container */
.register-form-container {
    flex: 1;
    max-width: 420px;
    background: white;
    padding: 40px 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    align-self: center;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.register-header {
    margin-bottom: 20px;
    text-align: center;
}

.register-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.register-header .quote {
    font-size: 15px;
    color: var(--gray);
    font-style: italic;
    font-weight: 400;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    gap: 8px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-gray);
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--focus);
    width: 12px;
    height: 12px;
}

.step-line {
    width: 30px;
    height: 2px;
    background: var(--light-gray);
}

/* Form Styles */
.register-form {
    position: relative;
    min-height: 200px;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    background: white;
    color: var(--dark);
    transition: all 0.2s ease;
    appearance: none;
}

.form-input select {
    cursor: pointer;
}

.form-input:focus {
    outline: none;
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(110, 86, 207, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.form-input.error {
    border-color: var(--error);
}

.form-input.error:focus {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.field-error {
    font-size: 13px;
    color: var(--error);
    margin-top: 4px;
}

.error-message {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: var(--error);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 24px;
}

/* Quote Section in Form */
.quote-section {
    margin: 8px 0;
    padding: 20px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.quote-text {
    font-size: 15px;
    color: var(--gray);
    font-style: italic;
    text-align: center;
    line-height: 1.6;
}

/* Step Buttons */
.step-button {
    width: 100%;
    padding: 14px 24px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.step-button:hover {
    background: #2a2a2a;
}

.step-button:active {
    transform: translateY(1px);
}

.step-button.secondary {
    background: white;
    color: var(--dark);
    border: 1px solid var(--border);
}

.step-button.secondary:hover {
    background: #f5f5f5;
}

.step-buttons {
    display: flex;
    gap: 12px;
}

.step-buttons .step-button {
    flex: 1;
}

/* Footer */
.register-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.register-footer a {
    color: var(--focus);
    text-decoration: none;
    font-weight: 500;
}

.register-footer a:hover {
    text-decoration: underline;
}

/* Quotes Sidebar */
.quotes-sidebar {
    flex: 1;
    max-width: 400px;
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.quote-card.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    pointer-events: auto;
}

.quote-card p {
    font-size: 24px;
    line-height: 1.7;
    color: var(--dark);
    font-style: italic;
    position: relative;
    font-weight: 300;
    text-align: center;
    max-width: 100%;
}

.quote-card p::before {
    content: '"';
    font-size: 120px;
    line-height: 1;
    color: var(--light-gray);
    position: absolute;
    left: -40px;
    top: -40px;
    font-family: Georgia, serif;
    opacity: 0.2;
}

/* Responsive Design */
@media (max-width: 968px) {
    .register-page {
        flex-direction: column;
        gap: 40px;
    }

    .quotes-sidebar {
        max-width: 100%;
        height: auto;
        min-height: 300px;
    }

    .quote-card {
        padding: 40px 24px;
    }

    .quote-card p {
        font-size: 20px;
    }

    .quote-card p::before {
        font-size: 80px;
        left: -20px;
        top: -20px;
    }
}

@media (max-width: 640px) {
    .register-form-container {
        padding: 32px 24px;
    }

    .register-header h1 {
        font-size: 28px;
    }

    .quotes-sidebar {
        display: none;
    }

    .register-page {
        align-items: flex-start;
    }
}
