Spaces:
Sleeping
Sleeping
| /* Container Styling */ | |
| .nexus-auth-form { | |
| max-width: 400px; | |
| margin: 10px auto; | |
| padding: 20px; | |
| border: none; | |
| border-radius: 12px; | |
| background: linear-gradient(145deg, var(--accent), var(--secondary)); | |
| box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1); | |
| color: var(--foreground); | |
| animation: fadeIn .5s ease-in-out, pulse .3s ease-in-out; | |
| } | |
| /* Header Styling */ | |
| .nexus-auth-form h2 { | |
| text-align: center; | |
| margin-bottom: 10px; | |
| color: var(--foreground); | |
| font-size: 1.4rem; | |
| font-weight: 600; | |
| letter-spacing: 1px; | |
| text-transform: uppercase; | |
| border-bottom: 2px solid var(--primary); | |
| padding-bottom: 5px; | |
| } | |
| /* Form Group Styling */ | |
| .form-group { | |
| margin-bottom: 5px; | |
| } | |
| .form-group label { | |
| display: block; | |
| margin-bottom: 5px; | |
| color: var(--foreground); | |
| font-size: 1rem; | |
| font-weight: 500; | |
| letter-spacing: 0.5px; | |
| } | |
| .form-group input { | |
| width: 100%; | |
| padding: 10px; | |
| background-color: var(--secondary); | |
| color: var(--foreground); | |
| border: 2px solid var(--primary); | |
| border-radius: 8px; | |
| font-size: 1rem; | |
| transition: all 0.3s ease; | |
| box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| .form-group input:focus { | |
| border-color: var(--accent); | |
| box-shadow: 0 0 10px var(--accent); | |
| outline: none; | |
| } | |
| /* Error Message Styling */ | |
| .error-message { | |
| color: #ff6b6b; /* Vibrant red for errors */ | |
| font-size: 0.9rem; | |
| margin-top: 5px; | |
| font-weight: bold; | |
| } | |
| /* Submit Button Styling */ | |
| .submit-button { | |
| width: 100%; | |
| padding: 14px; | |
| font-size: 1rem; | |
| font-weight: bold; | |
| color: var(--foreground); | |
| background: linear-gradient(135deg, var(--primary), var(--secondary)); | |
| border: none; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| text-transform: uppercase; | |
| } | |
| .submit-button:hover { | |
| background: linear-gradient(135deg, var(--secondary), var(--accent)); | |
| transform: translateY(-2px) scale(1.02); | |
| box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); | |
| } | |
| .submit-button:disabled { | |
| background-color: var(--primary); | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| } | |
| /* Signup/Login Section Styling */ | |
| .nexus-auth-signup-login { | |
| text-align: center; | |
| margin-top: 40px; | |
| animation: fadeIn .5s ease-in-out, pulse .3s ease-in-out; | |
| } | |
| .nexus-auth-signup-login h1 { | |
| margin-bottom: 20px; | |
| color: var(--foreground); | |
| font-size: 1.5rem; | |
| font-weight: bold; | |
| letter-spacing: 0.8px; | |
| } | |
| .nexus-auth-signup-login button { | |
| padding: 12px 30px; | |
| font-size: 1rem; | |
| font-weight: bold; | |
| color: var(--foreground); | |
| background: linear-gradient(145deg, var(--primary), var(--secondary)); | |
| border: none; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| } | |
| .nexus-auth-signup-login button:hover { | |
| background: linear-gradient(145deg, var(--secondary), var(--accent)); | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .nexus-auth-form { | |
| padding: 20px; | |
| max-width: 90%; | |
| } | |
| .nexus-auth-form h2 { | |
| font-size: 1.5rem; | |
| } | |
| .form-group label { | |
| font-size: 0.9rem; | |
| } | |
| .form-group input { | |
| padding: 10px; | |
| font-size: 0.95rem; | |
| } | |
| .submit-button { | |
| padding: 12px; | |
| font-size: 0.9rem; | |
| } | |
| .nexus-auth-signup-login h1 { | |
| font-size: 1.3rem; | |
| } | |
| .nexus-auth-signup-login button { | |
| font-size: 0.9rem; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .nexus-auth-form { | |
| padding: 10px; | |
| max-width: 90%; | |
| } | |
| .nexus-auth-form h2 { | |
| font-size: 1.3rem; | |
| } | |
| .form-group label { | |
| font-size: 0.8rem; | |
| } | |
| .form-group input { | |
| padding: 8px; | |
| font-size: 0.85rem; | |
| } | |
| .submit-button { | |
| padding: 10px; | |
| font-size: 0.85rem; | |
| } | |
| .nexus-auth-signup-login h1 { | |
| font-size: 1.2rem; | |
| } | |
| .nexus-auth-signup-login button { | |
| padding: 10px 20px; | |
| font-size: 0.85rem; | |
| } | |
| } | |