
    @font-face {
      font-family: 'Playwright DE Grund';
      src: url('fonts/PlaywrightDEGrund.ttf') format('truetype');
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Playwright DE Grund', 'Poppins', sans-serif;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
      color: #333;
      background-color: #fdfdfd;
      transition: background-color 0.5s, color 0.5s;
    }

    .background {
      background-image: url('https://img.freepik.com/free-photo/blue-wooden-textured-flooring-background_53876-143083.jpg?w=740&t=st=1665289538~exp=1665290138~hmac=909584612e55578b66dadc673b0a931f5343f9038a7130ced4ce9d3e4c98f9b7');
      background-size: cover;
      background-attachment: fixed;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      position: relative;
    }

    /* Glass background overlay */
    .background::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(5px);
      z-index: 0;
    }

    
    .container {
      text-align: center;
      z-index: 1;
      width: 100%;
      max-width: 1400px; /* Slightly wider to accommodate side-by-side boxes */
      position: relative;
      padding: 0 20px;
    }

    .logo {
      font-size: 3.5em;
      color: #FF9800;
      text-shadow: 0 0 10px #FF9800, 0 0 20px #FF9800;
      margin-bottom: 0;
      letter-spacing: 2px;
      position: relative;
      display: inline-block;
    }

    .logo::after {
      content: '';
      position: absolute;
      width: 70%;
      height: 3px;
      background: linear-gradient(90deg, transparent, #FF9800, transparent);
      bottom: -10px;
      left: 15%;
      border-radius: 50%;
      box-shadow: 0 0 10px #FF9800;
    }

    .logo-icon {
      margin-right: 10px;
      vertical-align: middle;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }

    .divider {
      border: none;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
      margin: 30px auto;
      width: 80%;
      max-width: 800px;
    }

    .subtitle {
      font-size: 1.6em;
      color: #fff;
      animation: slideIn 0.9s forwards;
      animation-delay: 0.9s;
      margin-top: 20px;
      margin-bottom: 40px;
      opacity: 0;
      transform: translateY(-20px);
      text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    @keyframes slideIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .input-output-container {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-top: 20px;
      flex-wrap: nowrap; /* Ensure boxes stay side by side */
    }

    .input-container, .output-container {
      backdrop-filter: blur(20px);
      background: rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      padding: 25px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
      width: 750px; /* Slightly less than 50% to account for the gap */
      transition: transform 0.3s, box-shadow 0.3s;
      border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .input-container:hover, .output-container:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
    }

    .section-title {
      font-size: 1.2em;
      color: #FF9800;
      margin-bottom: 15px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .section-title i {
      margin-right: 10px;
      font-size: 1.1em;
    }

    textarea {
      width: 100%;
      height: 150px;
      padding: 20px;
      border: none;
      border-radius: 10px;
      font-size: 1.2em;
      font-family: 'Poppins', sans-serif;
      resize: none;
      background-color: rgba(255, 255, 255, 0.9);
      transition: box-shadow 0.3s, background-color 0.3s;
      box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    textarea:focus {
      outline: none;
      box-shadow: 0 0 15px #00ffcc, inset 0 2px 5px rgba(0, 0, 0, 0.1);
      background-color: white;
    }

    .button-container {
      display: flex;
      gap: 10px;
      margin-top: 15px;
      justify-content: center;
    }

    button {
      padding: 12px 20px;
      border: none;
      border-radius: 8px;
      background-color: #FF9800;
      color: white;
      font-size: 1em;
      cursor: pointer;
      transition: all 0.2s ease-in-out;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Poppins', sans-serif;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    button:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
      background-color: #F57C00;
    }

    button:active {
      transform: translateY(1px);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    button i {
      margin-right: 8px;
    }

    .toggle-dark {
      position: absolute;
      top: 15px;
      right: 20px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      font-size: 1.2em;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      transition: all 0.3s;
      z-index: 2;
      cursor: pointer;
      
    }

    .toggle-dark:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: rotate(15deg);
      
    }
    body.dark-mode textarea:hover,
    body.dark-mode textarea:focus {
  box-shadow: 0 0 10px #f5b801;
}

    .stats-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
    }

    .stat-item {
      text-align: center;
      flex: 1;
      padding: 10px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.7);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .stat-value {
      font-size: 1.5em;
      font-weight: bold;
      color: #FF9800;
      margin-bottom: 5px;
    }

    .stat-label {
      font-size: 0.8em;
      color: #666;
    }

    .toggle-dark {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

.dark-mode {
  background-color: #2b2a2a;
  color: #eeeeee;
}

.dark-mode textarea {
  background-color: #1e1e1e;
  color: white;
}

.dark-mode .output-title,
.dark-mode .logo {
  color: #fc9c0d;
}
    

    .floating-actions {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      z-index: 10;
    }

    .floating-btn {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: #FF9800;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      cursor: pointer;
      transition: all 0.3s;
    }

    .floating-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    }

    .tooltip {
      position: absolute;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 5px 10px;
      border-radius: 5px;
      font-size: 0.8em;
      white-space: nowrap;
      right: 60px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }

    .floating-btn:hover .tooltip {
      opacity: 1;
    }

    /* Responsive Styles - Only change layout below 768px */
    @media (max-width: 768px) {
      .input-output-container {
        flex-direction: column;
        align-items: center;
      }

      .input-container,
      .output-container {
        width: 90%;
        max-width: 100%;
      }

      textarea {
        height: 120px;
        font-size: 1em;
      }

      .button-container {
        flex-wrap: wrap;
      }

      button {
        width: 100%;
      }

      .stats-row {
        flex-direction: column;
        gap: 10px;
      }
    }

    @media (max-width: 480px) {
      .logo {
        font-size: 2.2em;
      }

      .subtitle {
        font-size: 1.2em;
      }

      .toggle-dark,
      .settings-panel {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
      }

      .settings-menu 
      {
        left: 10px;
        right: 10px;
        width: auto;
      }
    }