style.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  8. background: #f5f5f5;
  9. color: #333;
  10. }
  11. .container {
  12. max-width: 1200px;
  13. margin: 0 auto;
  14. padding: 20px;
  15. }
  16. header {
  17. background: #2c3e50;
  18. color: white;
  19. padding: 20px;
  20. margin-bottom: 20px;
  21. border-radius: 8px;
  22. }
  23. header h1 {
  24. margin-bottom: 15px;
  25. }
  26. nav {
  27. display: flex;
  28. gap: 15px;
  29. flex-wrap: wrap;
  30. }
  31. nav a {
  32. color: white;
  33. text-decoration: none;
  34. padding: 8px 16px;
  35. border-radius: 4px;
  36. background: rgba(255,255,255,0.1);
  37. }
  38. nav a:hover {
  39. background: rgba(255,255,255,0.2);
  40. }
  41. section {
  42. background: white;
  43. padding: 20px;
  44. margin-bottom: 20px;
  45. border-radius: 8px;
  46. box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  47. }
  48. h2 {
  49. margin-bottom: 20px;
  50. color: #2c3e50;
  51. }
  52. h3 {
  53. margin-bottom: 15px;
  54. color: #34495e;
  55. }
  56. /* Login Form */
  57. #loginForm {
  58. max-width: 400px;
  59. display: flex;
  60. flex-direction: column;
  61. gap: 15px;
  62. }
  63. input, select {
  64. padding: 10px;
  65. border: 1px solid #ddd;
  66. border-radius: 4px;
  67. font-size: 14px;
  68. }
  69. button {
  70. padding: 10px 20px;
  71. background: #3498db;
  72. color: white;
  73. border: none;
  74. border-radius: 4px;
  75. cursor: pointer;
  76. font-size: 14px;
  77. }
  78. button:hover {
  79. background: #2980b9;
  80. }
  81. /* Stats */
  82. .stats {
  83. display: grid;
  84. grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  85. gap: 20px;
  86. }
  87. .stat-card {
  88. background: #3498db;
  89. color: white;
  90. padding: 20px;
  91. border-radius: 8px;
  92. text-align: center;
  93. }
  94. .stat-card h3 {
  95. color: white;
  96. margin-bottom: 10px;
  97. font-size: 14px;
  98. }
  99. .stat-card p {
  100. font-size: 36px;
  101. font-weight: bold;
  102. }
  103. /* Status Grid */
  104. .status-grid {
  105. display: grid;
  106. grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  107. gap: 15px;
  108. }
  109. .status-item {
  110. padding: 15px;
  111. background: #f8f9fa;
  112. border-radius: 4px;
  113. }
  114. .status-label {
  115. display: block;
  116. font-size: 14px;
  117. color: #666;
  118. margin-bottom: 5px;
  119. }
  120. .status-value {
  121. font-size: 18px;
  122. font-weight: bold;
  123. color: #27ae60;
  124. }
  125. /* Info Grid */
  126. .info-grid {
  127. display: grid;
  128. grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  129. gap: 15px;
  130. }
  131. .info-item {
  132. padding: 15px;
  133. background: #f8f9fa;
  134. border-radius: 4px;
  135. }
  136. .info-label {
  137. display: block;
  138. font-size: 14px;
  139. color: #666;
  140. margin-bottom: 5px;
  141. }
  142. .info-value {
  143. font-size: 18px;
  144. font-weight: bold;
  145. color: #2c3e50;
  146. }
  147. /* Tables */
  148. table {
  149. width: 100%;
  150. border-collapse: collapse;
  151. margin-top: 15px;
  152. }
  153. th, td {
  154. padding: 12px;
  155. text-align: left;
  156. border-bottom: 1px solid #ddd;
  157. }
  158. th {
  159. background: #f8f9fa;
  160. font-weight: 600;
  161. }
  162. tr:hover {
  163. background: #f8f9fa;
  164. }
  165. /* Panels */
  166. .panel {
  167. margin-bottom: 30px;
  168. }
  169. /* Form Styles */
  170. .form-row {
  171. margin-bottom: 15px;
  172. }
  173. .form-row label {
  174. display: block;
  175. margin-bottom: 5px;
  176. font-weight: 500;
  177. color: #34495e;
  178. }
  179. .form-row input[type="text"],
  180. .form-row input[type="number"] {
  181. width: 100%;
  182. }
  183. .form-row input[type="checkbox"] {
  184. width: auto;
  185. margin-right: 10px;
  186. }
  187. /* Utility */
  188. .hidden {
  189. display: none;
  190. }
  191. /* Pool Stats */
  192. .pool-stats {
  193. display: grid;
  194. grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  195. gap: 15px;
  196. margin-bottom: 15px;
  197. }
  198. .stat-item {
  199. padding: 15px;
  200. background: #f8f9fa;
  201. border-radius: 4px;
  202. }
  203. .stat-label {
  204. display: block;
  205. font-size: 14px;
  206. color: #666;
  207. margin-bottom: 5px;
  208. }
  209. .stat-value {
  210. font-size: 18px;
  211. font-weight: bold;
  212. color: #2c3e50;
  213. }
  214. /* Pool Bar */
  215. .pool-bar {
  216. height: 24px;
  217. background: #e9ecef;
  218. border-radius: 12px;
  219. overflow: hidden;
  220. margin-top: 10px;
  221. }
  222. .pool-bar-fill {
  223. height: 100%;
  224. background: linear-gradient(90deg, #27ae60, #2ecc71);
  225. border-radius: 12px;
  226. transition: width 0.3s ease;
  227. display: flex;
  228. align-items: center;
  229. justify-content: center;
  230. color: white;
  231. font-size: 12px;
  232. font-weight: bold;
  233. min-width: 30px;
  234. }
  235. /* Client Status */
  236. .status-active {
  237. color: #27ae60;
  238. font-weight: bold;
  239. }
  240. .status-expired {
  241. color: #e74c3c;
  242. font-weight: bold;
  243. }
  244. /* Responsive */
  245. @media (max-width: 768px) {
  246. .stats {
  247. grid-template-columns: 1fr;
  248. }
  249. .status-grid,
  250. .info-grid {
  251. grid-template-columns: 1fr;
  252. }
  253. nav {
  254. flex-direction: column;
  255. }
  256. }