| /* Login.css */ | |
| .login-container { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| background-color: #f1f5f9; | |
| padding: 20px; | |
| } | |
| .login-box { | |
| background-color: #0f172a; | |
| padding: 48px 40px; | |
| border-radius: 20px; | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); | |
| width: 100%; | |
| max-width: 400px; | |
| text-align: center; | |
| color: #f8fafc; | |
| } | |
| .login-box h2 { | |
| margin-bottom: 30px; | |
| font-size: 2rem; | |
| font-weight: 700; | |
| color: #e2e8f0; | |
| } | |
| .login-box input { | |
| width: 100%; | |
| padding: 14px 16px; | |
| margin: 12px 0; | |
| border: none; | |
| border-radius: 10px; | |
| font-size: 1rem; | |
| background-color: #1e293b; | |
| color: #f8fafc; | |
| transition: background-color 0.2s ease, box-shadow 0.2s ease; | |
| } | |
| .login-box input:focus { | |
| outline: none; | |
| background-color: #334155; | |
| box-shadow: 0 0 0 2px #22c55e50; | |
| } | |
| .login-box input::placeholder { | |
| color: #94a3b8; | |
| } | |
| .login-box button { | |
| background-color: #22c55e; | |
| color: #fff; | |
| padding: 14px; | |
| width: 100%; | |
| border: none; | |
| border-radius: 10px; | |
| font-weight: 600; | |
| font-size: 1rem; | |
| margin-top: 16px; | |
| cursor: pointer; | |
| transition: background-color 0.2s ease, transform 0.1s ease; | |
| } | |
| .login-box button:hover { | |
| background-color: #16a34a; | |
| transform: translateY(-1px); | |
| } | |
| .login-box button:active { | |
| transform: translateY(0); | |
| } | |
| .register-link { | |
| margin-top: 20px; | |
| font-size: 0.95rem; | |
| color: #cbd5e1; | |
| } | |
| .register-link a { | |
| color: #38bdf8; | |
| text-decoration: none; | |
| font-weight: 600; | |
| margin-left: 5px; | |
| } | |
| .register-link a:hover { | |
| text-decoration: underline; | |
| } | |