/* Auth Pages Styling */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    padding: 2rem;
}

.auth-card {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.hidden {
    display: none !important;
}

.back-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: transparent;
    border: none;
    color: #00ff41;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateX(-4px);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #00ff41, #00D9A5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.auth-header p {
    color: #aaa;
    font-size: 1rem;
}

/* Role Selection */
.role-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.role-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-card:hover {
    border-color: #00ff41;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 255, 65, 0.2);
}

.role-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.role-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.role-card p {
    color: #888;
    font-size: 0.9rem;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: #888;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: #00ff41;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00ff41;
}

/* Forms */
.auth-form, .auth-form-container {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #00ff41;
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1);
}

.form-group small {
    display: block;
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00ff41, #00D9A5);
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 65, 0.4);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.error-message {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6666;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Registration Steps */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.step.active {
    background: #00ff41;
    color: #000;
    border-color: #00ff41;
}

.step.completed {
    background: rgba(0, 255, 65, 0.2);
    border-color: #00ff41;
    color: #00ff41;
}

.registration-step h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.step-desc {
    text-align: center;
    color: #888;
    margin-bottom: 2rem;
}

.step-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.step-buttons button {
    flex: 1;
}

/* Plan Selector */
.plan-selector {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.plan-option {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-option:hover, .plan-option.selected {
    border-color: #00ff41;
    background: rgba(0, 255, 65, 0.05);
}

.plan-option.featured {
    border-color: #00ff41;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 217, 165, 0.1));
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #00ff41;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #00ff41;
}

.plan-details {
    flex: 1;
}

.plan-details h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.plan-price {
    color: #00ff41;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.plan-desc {
    color: #888;
    font-size: 0.9rem;
}

/* Development Only Section */
.dev-only-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed rgba(255, 165, 0, 0.3);
}

.dev-warning {
    text-align: center;
    color: #ffa500;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

.btn-dev {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff6600, #ff9933);
    color: #fff;
    border: 2px dashed #ffa500;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-dev:hover {
    background: linear-gradient(135deg, #ff8800, #ffaa44);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.4);
}

/* Responsive */
@media (max-width: 640px) {
    .auth-card {
        padding: 2rem;
    }

    .role-options {
        grid-template-columns: 1fr;
    }

    .auth-header h1 {
        font-size: 2rem;
    }

    .step-buttons {
        flex-direction: column;
    }
}
