bookings.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /* General Reset */
  2. .content {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. font-family: Arial, sans-serif;
  7. display: grid;
  8. place-items: center;
  9. background-color: #f4f4f9;
  10. }
  11. body {
  12. background-color: #f4f4f9;
  13. }
  14. /* Container */
  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: 800px;
  22. display: grid;
  23. gap: 10px;
  24. }
  25. h1, h2 {
  26. text-align: center;
  27. color: #333;
  28. }
  29. /* Appointment Info */
  30. .appointment-info {
  31. display: grid;
  32. gap: 5px;
  33. font-size: 16px;
  34. color: #555;
  35. }
  36. .appointment-info p {
  37. line-height: 1.6;
  38. }
  39. /* Table Styling */
  40. .table-wrapper {
  41. overflow-x: auto;
  42. }
  43. table {
  44. width: 100%;
  45. border-collapse: collapse;
  46. text-align: left;
  47. }
  48. th, td {
  49. padding: 12px;
  50. border: 1px solid #ddd;
  51. }
  52. th {
  53. background-color: #6c63ff;
  54. color: white;
  55. font-weight: normal;
  56. }
  57. tr:nth-child(even) {
  58. background-color: #f9f9f9;
  59. }
  60. tr:hover {
  61. background-color: #f1f1f1;
  62. }
  63. /* Responsive adjustments */
  64. @media (max-width: 768px) {
  65. body {
  66. height: auto;
  67. padding: 20px;
  68. }
  69. h2 {
  70. font-size: 1.5rem;
  71. }
  72. table {
  73. font-size: 14px;
  74. }
  75. th, td {
  76. padding: 10px;
  77. }
  78. }
  79. @media (max-width: 480px) {
  80. table {
  81. font-size: 10px;
  82. }
  83. th, td {
  84. padding: 8px;
  85. }
  86. th {
  87. font-size: 0.9rem;
  88. }
  89. }