schedule.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /* General Reset */
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. font-family: Arial, sans-serif;
  7. }
  8. body {
  9. display: grid;
  10. place-items: center;
  11. min-height: 100vh;
  12. background-color: #f4f4f9;
  13. margin: 0;
  14. }
  15. .container {
  16. background: white;
  17. padding: 20px 30px;
  18. border-radius: 8px;
  19. box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  20. width: 100%;
  21. max-width: 500px;
  22. display: grid;
  23. gap: 20px;
  24. }
  25. h1 {
  26. text-align: center;
  27. color: #333;
  28. }
  29. form {
  30. display: grid;
  31. gap: 15px;
  32. }
  33. .input-group {
  34. display: grid;
  35. gap: 5px;
  36. }
  37. .input-group label {
  38. font-size: 14px;
  39. color: #555;
  40. }
  41. .input-group input {
  42. width: 100%;
  43. padding: 10px;
  44. border: 1px solid #ccc;
  45. border-radius: 4px;
  46. font-size: 14px;
  47. transition: border-color 0.3s;
  48. }
  49. /* For readonly inputs */
  50. .input-group input[readonly] {
  51. background-color: #f9f9f9;
  52. cursor: not-allowed;
  53. }
  54. .input-group input:focus {
  55. border-color: #6c63ff;
  56. outline: none;
  57. }
  58. .btn-submit {
  59. margin-top: 10px;
  60. padding: 12px;
  61. padding-inline: 30px;
  62. border: none;
  63. background: #6c63ff;
  64. color: white;
  65. font-size: 16px;
  66. cursor: pointer;
  67. border-radius: 4px;
  68. transition: background 0.3s;
  69. }
  70. .btn-submit:hover {
  71. background: #5750d9;
  72. }
  73. #appointment-error {
  74. color: red;
  75. margin-top: 10px;
  76. }
  77. #appointment-success {
  78. color: green;
  79. margin-top: 10px;
  80. }