:root {
    --primary: #4F46E5;
    --secondary: #7C3AED;
    --dark: #111827;
    --light: #F3F4F6;
}

.register-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 700;
}

.glow-bar {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    width: 200px;
    margin: 0 auto;
}

.custom-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    height: 60px;
}

.custom-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.3);
    color: #fff;
}

.form-floating > label {
    color: rgba(255, 255, 255, 0.6);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary);
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    z-index: 5;
}

.toggle-password:hover {
    color: var(--primary);
}

.custom-checkbox .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox .form-check-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.success-alert, .error-alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-alert {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.error-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.neon-btn {
    position: relative;
    padding: 15px 30px;
    background: transparent;
    color: var(--primary);
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    overflow: hidden;
    transition: 0.5s;
    cursor: pointer;
}

.neon-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 25px var(--primary);
}

.neon-btn span {
    position: absolute;
    background: var(--primary);
}

.neon-btn span:nth-child(1) {
    width: 100%;
    height: 2px;
    top: 0;
    left: -100%;
    animation: neon1 1s linear infinite;
}

.neon-btn span:nth-child(2) {
    width: 2px;
    height: 100%;
    top: -100%;
    right: 0;
    animation: neon2 1s linear infinite;
    animation-delay: 0.25s;
}

.neon-btn span:nth-child(3) {
    width: 100%;
    height: 2px;
    bottom: 0;
    right: -100%;
    animation: neon3 1s linear infinite;
    animation-delay: 0.5s;
}

.neon-btn span:nth-child(4) {
    width: 2px;
    height: 100%;
    bottom: -100%;
    left: 0;
    animation: neon4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes neon1 { 0% { left: -100%; } 50%, 100% { left: 100%; } }
@keyframes neon2 { 0% { top: -100%; } 50%, 100% { top: 100%; } }
@keyframes neon3 { 0% { right: -100%; } 50%, 100% { right: 100%; } }
@keyframes neon4 { 0% { bottom: -100%; } 50%, 100% { bottom: 100%; } }

.login-link {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}

.gradient-link {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    position: relative;
}

.gradient-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.gradient-link:hover::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .glass-card {
        padding: 20px;
    }
    
    .gradient-text {
        font-size: 1.5rem;
    }
}

