body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  /* Top Bar */
  .top-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 40px; height: 75px;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(10px);
    z-index: 1000; border-bottom: 2px solid #ff66cc;
  }
  .logo { font-size: 2rem; font-weight: bold; text-decoration: none; display: flex; gap: 5px; }
  .logo .main { color: #00ccff; } .logo .sub { color: #ff66cc; }
  .back-dashboard {
    font-size: 1rem; padding: 10px 20px; border-radius: 6px;
    background: #ff66cc; color: #000; font-weight: bold;
    text-decoration: none; transition: .3s;
  }
  .back-dashboard:hover { background: #00ccff; box-shadow: 0 0 15px #00ccff; }

  /* Loader */
  #loader-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 5000;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease;
  }
  .ring-container { position: relative; width: 80px; height: 80px; display: flex; justify-content: center; align-items: center; }
  .ring-outer { width: 100%; height: 100%; border: 4px solid transparent; border-top: 4px solid #00ccff; border-bottom: 4px solid #ff66cc; border-radius: 50%; animation: spin-ring 1.5s linear infinite; }
  .ring-core { position: absolute; width: 20px; height: 20px; background-color: #ffcc00; border-radius: 50%; box-shadow: 0 0 20px #ffcc00; animation: pulse-core 1s ease-in-out infinite; }
  @keyframes spin-ring { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
  @keyframes pulse-core { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.5); opacity: 1; } }

  /* Footer */
  footer {
    margin-top: auto;
    padding: 25px 0; text-align: center;
    background: rgba(0, 0, 0, 0.95); border-top: 2px solid #ff66cc;
    backdrop-filter: blur(10px);
    color: #fff;
  }
  .footer-links { margin-top: 10px; display: flex; justify-content: center; gap: 20px; }
  .footer-links a { color: #888; text-decoration: none; font-size: 0.8rem; transition: 0.3s; letter-spacing: 1px; }
  .footer-links a:hover { color: #00ccff; text-shadow: 0 0 5px #00ccff; }

  /* Custom Cursor */
  html, body, *, a, button { cursor: none !important; }
  #customCursor {
    position: fixed;
    width: 20px; height: 20px;
    background: #00ccff; /* default blue cursor */
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    pointer-events: none; z-index: 999999;
    transform: translate(-6px, -6px);
    filter: drop-shadow(0 0 6px #00ccff) drop-shadow(0 0 12px #00ccff) drop-shadow(0 0 24px #00ccff);
    transition: background 0.2s, filter 0.2s, transform 0.2s;
  }
  #customCursor.hover {
    background: #ff66cc; /* pink on hover */
    transform: translate(-6px,-6px) rotate(-90deg); /* rotated upward */
    filter: drop-shadow(0 0 6px #ff66cc) drop-shadow(0 0 12px #ff66cc) drop-shadow(0 0 24px #ff66cc);
  }

  /* Color Picker Container */
  .container {
    background-color: #fff;
    padding: 30px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 1;
  }
  h1 { text-align: center; margin-bottom: 20px; }
  .color-picker { display: flex; justify-content: center; margin-bottom: 20px; }
  input[type="color"] { width: 60px; height: 60px; border: none; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }

  .formats { display: flex; flex-direction: column; gap: 15px; }
  .format-box {
    position: relative;
    background-color: #fafafa;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    font-family: monospace;
    user-select: text;
    cursor: pointer;
  }
  .format-box .label { width: 50px; font-weight: bold; }
  .format-box .value { flex: 1; }
  .copied-msg {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: #000;
    opacity: 0;
    transition: opacity 0.3s;
  }