form.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. transition: transform 0.3s; /* Transition for hover effect */
  10. }
  11. .card:hover {
  12. transform: translateY(-5px); /* Slight lift effect on hover */
  13. }
  14. .input-field {
  15. width: 100%; /* Full width for inputs */
  16. padding: 12px 0; /* Padding for input fields */
  17. margin: 10px 0; /* Margin between input fields */
  18. border: 1px solid #ccc; /* Light border */
  19. border-radius: 6px; /* Rounded corners for input fields */
  20. font-size: 16px; /* Font size for input text */
  21. outline: none; /* Remove outline on focus */
  22. transition: border-color 0.3s; /* Transition for border color */
  23. }
  24. .input-field:focus {
  25. border-color: #007bff; /* Change border color on focus */
  26. }
  27. button {
  28. width: 100%; /* Full width for the button */
  29. margin: 5px 0;
  30. padding: 12px; /* Padding for the button */
  31. background-color: #007bff; /* Button color */
  32. color: white; /* White text color */
  33. border: none; /* No border */
  34. border-radius: 6px; /* Rounded corners for button */
  35. font-size: 16px; /* Font size for button text */
  36. cursor: pointer; /* Change cursor to pointer */
  37. transition: background-color 0.3s; /* Transition for button color */
  38. }
  39. .add-button {
  40. background-color: #007bff; /* Button color */
  41. color: white; /* White text color */
  42. }
  43. .register-button {
  44. background-color: #20bf6b; /* Button color */
  45. color: white; /* White text color */
  46. }
  47. .add-button:hover {
  48. background-color: #0056b3; /* Darker button color on hover */
  49. }