Spaces:
Running
Running
| .login-page { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| height: 100vh; | |
| background-color: #f5f5f5; | |
| h2 { | |
| margin-bottom: 20px; | |
| font-size: 24px; | |
| color: #333; | |
| } | |
| form { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 15px; | |
| width: 300px; | |
| padding: 20px; | |
| background-color: white; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | |
| div { | |
| display: flex; | |
| flex-direction: column; | |
| label { | |
| margin-bottom: 5px; | |
| font-size: 14px; | |
| color: #555; | |
| } | |
| input { | |
| padding: 8px; | |
| font-size: 16px; | |
| border: 1px solid #ddd; | |
| border-radius: 4px; | |
| outline: none; | |
| &:focus { | |
| border-color: #28a745; | |
| } | |
| } | |
| } | |
| .error { | |
| color: #dc3545; | |
| font-size: 14px; | |
| text-align: center; | |
| } | |
| button { | |
| padding: 10px; | |
| font-size: 16px; | |
| background-color: #28a745; | |
| color: white; | |
| border: none; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| &:hover { | |
| background-color: #218838; | |
| } | |
| &:disabled { | |
| background-color: #6c757d; | |
| cursor: not-allowed; | |
| } | |
| } | |
| } | |
| } |