| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family:
- -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- min-height: 100vh;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 20px;
- }
- .login-container {
- background: white;
- border-radius: 10px;
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
- padding: 40px;
- width: 100%;
- max-width: 400px;
- animation: slideDown 0.3s;
- }
- @keyframes slideDown {
- from {
- transform: translateY(-50px);
- opacity: 0;
- }
- to {
- transform: translateY(0);
- opacity: 1;
- }
- }
- .login-header {
- text-align: center;
- margin-bottom: 30px;
- }
- .login-header h1 {
- color: #333;
- font-size: 28px;
- margin-bottom: 10px;
- }
- .login-header p {
- color: #6b7280;
- font-size: 14px;
- }
- .form-group {
- margin-bottom: 20px;
- }
- .form-group label {
- display: block;
- margin-bottom: 8px;
- color: #374151;
- font-weight: 500;
- font-size: 14px;
- }
- .form-group input {
- width: 100%;
- padding: 12px;
- border: 1px solid #d1d5db;
- border-radius: 5px;
- font-size: 14px;
- transition: all 0.3s;
- }
- .form-group input:focus {
- outline: none;
- border-color: #667eea;
- box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
- }
- .btn {
- width: 100%;
- padding: 12px;
- border: none;
- border-radius: 5px;
- font-size: 16px;
- font-weight: 500;
- cursor: pointer;
- transition: all 0.3s;
- }
- .btn-primary {
- background: #667eea;
- color: white;
- }
- .btn-primary:hover {
- background: #5568d3;
- transform: translateY(-2px);
- box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
- }
- .btn-primary:active {
- transform: translateY(0);
- }
- .btn-primary:disabled {
- background: #9ca3af;
- cursor: not-allowed;
- transform: none;
- }
- .error-message {
- background: #fee2e2;
- color: #dc2626;
- padding: 12px;
- border-radius: 5px;
- margin-bottom: 20px;
- font-size: 14px;
- display: none;
- }
- .error-message.show {
- display: block;
- }
- .loading {
- display: none;
- text-align: center;
- color: #6b7280;
- margin-top: 10px;
- }
- .loading.show {
- display: block;
- }
|