form.css 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. .text-column {
  2. text-align: center; /* Center align text */
  3. }
  4. .card {
  5. background-color: #ffffff; /* White background for the card */
  6. border-radius: 12px; /* Rounded corners */
  7. box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  8. padding: 20px; /* Padding inside the card */
  9. width: 300px; /* Fixed width for the card */
  10. transition: transform 0.3s; /* Transition for hover effect */
  11. }
  12. .card:hover {
  13. transform: translateY(-5px); /* Slight lift effect on hover */
  14. }
  15. .input-field {
  16. width: 90%; /* Full width for inputs */
  17. padding: 12px; /* Padding for input fields */
  18. margin: 10px 0; /* Margin between input fields */
  19. border: 1px solid #ccc; /* Light border */
  20. border-radius: 6px; /* Rounded corners for input fields */
  21. font-size: 16px; /* Font size for input text */
  22. outline: none; /* Remove outline on focus */
  23. transition: border-color 0.3s; /* Transition for border color */
  24. }
  25. .input-field:focus {
  26. border-color: #007bff; /* Change border color on focus */
  27. }
  28. button {
  29. width: 100%; /* Full width for the button */
  30. margin: 5px 0;
  31. padding: 12px; /* Padding for the button */
  32. background-color: #007bff; /* Button color */
  33. color: white; /* White text color */
  34. border: none; /* No border */
  35. border-radius: 6px; /* Rounded corners for button */
  36. font-size: 16px; /* Font size for button text */
  37. cursor: pointer; /* Change cursor to pointer */
  38. transition: background-color 0.3s; /* Transition for button color */
  39. }
  40. .login-button {
  41. background-color: #007bff; /* Button color */
  42. color: white; /* White text color */
  43. }
  44. .register-button {
  45. background-color: #20bf6b; /* Button color */
  46. color: white; /* White text color */
  47. }
  48. .login-button:hover {
  49. background-color: #0056b3; /* Darker button color on hover */
  50. }