* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f5f5f5; color: #333; line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #e0e0e0; } h1 { color: #2c3e50; font-size: 2.5em; font-weight: 300; } h2 { color: #34495e; margin-bottom: 20px; font-weight: 400; } .login-form { max-width: 400px; margin: 100px auto; background: white; padding: 40px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .add-form { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); margin-bottom: 30px; } .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 20px; } .form-group { margin-bottom: 20px; } label { display: block; margin-bottom: 8px; font-weight: 500; color: #555; } input[type="text"], input[type="password"], input[type="file"] { width: 100%; padding: 12px; border: 2px solid #e0e0e0; border-radius: 5px; font-size: 16px; transition: border-color 0.3s; } input[type="text"]:focus, input[type="password"]:focus, input[type="file"]:focus { outline: none; border-color: #3498db; } .btn { padding: 12px 24px; border: none; border-radius: 5px; font-size: 16px; cursor: pointer; text-decoration: none; display: inline-block; transition: background-color 0.3s; } .btn-primary { background-color: #3498db; color: white; } .btn-primary:hover { background-color: #2980b9; } .btn-secondary { background-color: #95a5a6; color: white; } .btn-secondary:hover { background-color: #7f8c8d; } .btn-danger { background-color: #e74c3c; color: white; padding: 8px 16px; font-size: 14px; } .btn-danger:hover { background-color: #c0392b; } .btn-copy { background-color: #27ae60; color: white; padding: 8px 16px; font-size: 14px; margin-right: 10px; } .btn-copy:hover { background-color: #229954; } .entries-section { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .entry-item { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; padding: 20px; margin-bottom: 15px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; } .entry-info h3 { color: #2c3e50; margin-bottom: 8px; font-size: 1.2em; } .entry-info p { color: #7f8c8d; margin-bottom: 4px; } .entry-actions { display: flex; gap: 10px; flex-wrap: wrap; } .message { margin-top: 15px; padding: 12px; border-radius: 5px; text-align: center; font-weight: 500; } .message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } .message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } .loading { opacity: 0.6; pointer-events: none; } @media (max-width: 768px) { .container { padding: 10px; } header { flex-direction: column; gap: 15px; text-align: center; } .form-row { grid-template-columns: 1fr; } .entry-item { grid-template-columns: 1fr; text-align: center; } .entry-actions { justify-content: center; } h1 { font-size: 2em; } }