auth.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. :root {
  2. --input-bg-color: #e0e0e0;
  3. --input-focus-border: #6c63ff;
  4. --input-placeholder-color: #888;
  5. --button-hover-background: #5750d9;
  6. --button-hover-text: white;
  7. }
  8. /* General Reset */
  9. body {
  10. display: grid;
  11. min-height: 100vh;
  12. }
  13. .container {
  14. background: white;
  15. padding: 20px;
  16. border-radius: 8px;
  17. box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  18. width: 100%;
  19. max-width: 400px;
  20. display: grid;
  21. grid-template-rows: auto 1fr;
  22. gap: 20px;
  23. }
  24. .form {
  25. display: grid;
  26. grid-template-rows: repeat(4, auto);
  27. gap: 15px;
  28. }
  29. h2 {
  30. text-align: center;
  31. color: #333;
  32. margin-bottom: 10px;
  33. }
  34. .input-group {
  35. display: grid;
  36. grid-template-rows: auto auto;
  37. gap: 10px;
  38. margin-top: 10px;
  39. }
  40. .input-group label {
  41. font-size: 14px;
  42. color: #555;
  43. }
  44. .input-group input {
  45. padding: 10px;
  46. border: 1px solid var(--input-bg-color);
  47. border-radius: 4px;
  48. font-size: 14px;
  49. transition: border-color 0.3s, box-shadow 0.3s;
  50. }
  51. .input-group input:focus {
  52. border-color: var(--input-focus-border);
  53. outline: none;
  54. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  55. }
  56. button {
  57. margin-top: 40px;
  58. padding: 10px;
  59. transition: background-color 0.3s ease;
  60. }
  61. button:hover {
  62. background-color: var(--button-hover-background);
  63. color: var(--button-hover-text);
  64. }
  65. #btn-register {
  66. background: var(--input-bg-color);
  67. color: #333;
  68. margin-top: -10px; /* Adjust spacing between buttons */
  69. }
  70. #btn-register:hover {
  71. background: #cacaca;
  72. }