/* Auth Form Styles - Shared between Login and Register */
.auth-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--background);
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    background: var(--surface);
    border: 1px solid var(--primary-cyan);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

.auth-title {
    color: var(--primary-cyan);
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Phonk Contrast', sans-serif;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

/* Form Elements */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    width: 100%;
    text-align: center;
}

.input-group label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--text);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.input-group i {
    color: var(--primary-cyan);
}

.cyber-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid var(--primary-cyan);
    border-radius: 4px;
    color: var(--text);
    font-family: 'Phonk Regular', sans-serif;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cyber-input:focus {
    outline: none;
    box-shadow: 0 0 15px var(--glow-cyan);
    background: rgba(0, 242, 255, 0.1);
}

/* Auth Buttons */
.auth-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    font-family: 'Phonk Regular', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-btn:hover {
    background: var(--primary-cyan);
    color: var(--background);
    box-shadow: 0 0 15px var(--glow-cyan);
}

/* Separator */
.auth-separator {
    text-align: center;
    position: relative;
    margin: 2rem 0;
}

.auth-separator span {
    background: var(--surface);
    padding: 0 1rem;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.auth-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-cyan);
    z-index: 0;
}

/* Additional Links */
.auth-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 242, 255, 0.2);
    text-align: center;
}

.auth-links p {
    color: var(--text);
    opacity: 0.8;
}

.auth-links a {
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    margin-left: 0.5rem;
}

.auth-links a:hover {
    text-shadow: 0 0 10px var(--primary-cyan);
    transform: translateY(-1px);
}

/* Terms Section */
.terms-section {
    margin: 1.5rem 0;
    text-align: center;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.terms-text {
    color: var(--text);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .auth-container {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.8rem;
    }
}

.password-requirements {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid var(--primary-cyan);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text);
    text-align: left;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.password-requirements li i {
    width: 20px;
    text-align: center;
}

.password-requirements li.valid {
    opacity: 1;
    color: var(--primary-cyan);
}

.password-requirements li.valid i {
    color: var(--primary-cyan);
}

.error-message {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Update button styling */
.auth-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    font-family: 'Phonk Regular', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.auth-form button[type="submit"]:hover {
    background: var(--primary-cyan);
    color: var(--background);
    box-shadow: 0 0 20px var(--glow-cyan);
    transform: translateY(-2px);
}

.auth-form button[type="submit"]::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 0%,
        rgba(0, 242, 255, 0.1) 50%,
        transparent 100%
    );
    z-index: -1;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Add hover effect for the icon */
.auth-form button[type="submit"] i {
    transition: transform 0.3s ease;
}

.auth-form button[type="submit"]:hover i {
    transform: translateX(3px);
} 