styles.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. body {
  2. font-family: 'Arial', sans-serif;
  3. background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  4. color: #fff;
  5. margin: 0;
  6. padding: 0;
  7. display: flex;
  8. justify-content: center;
  9. align-items: center;
  10. height: 100vh;
  11. }
  12. .container {
  13. background: rgba(255, 255, 255, 0.1);
  14. border-radius: 15px;
  15. padding: 20px;
  16. width: 80%;
  17. max-width: 800px;
  18. box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  19. backdrop-filter: blur(10px);
  20. }
  21. #chat-window {
  22. height: 400px;
  23. overflow-y: auto;
  24. margin-bottom: 20px;
  25. padding: 10px;
  26. border: 1px solid rgba(0, 255, 255, 0.3);
  27. border-radius: 10px;
  28. background: rgba(0, 0, 0, 0.2);
  29. }
  30. .message {
  31. margin: 10px 0;
  32. padding: 10px;
  33. border-radius: 8px;
  34. background: rgba(255, 255, 255, 0.05);
  35. transition: transform 0.2s;
  36. }
  37. .message:hover {
  38. transform: scale(1.02);
  39. box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  40. }
  41. .message .user {
  42. font-weight: bold;
  43. color: #00ffff; /* Neon cyan */
  44. }
  45. .message img {
  46. max-width: 200px;
  47. border-radius: 5px;
  48. margin-top: 5px;
  49. }
  50. input, button {
  51. padding: 10px;
  52. margin: 5px;
  53. border: none;
  54. border-radius: 5px;
  55. background: rgba(255, 255, 255, 0.1);
  56. color: #fff;
  57. }
  58. button {
  59. background: linear-gradient(45deg, #00ffff, #00ff00);
  60. cursor: pointer;
  61. transition: background 0.3s;
  62. }
  63. button:hover {
  64. background: linear-gradient(45deg, #00ff00, #00ffff);
  65. }
  66. #refresh-btn {
  67. background: linear-gradient(45deg, #ff00ff, #ff9900);
  68. }