/* Custom styles to make the UI look good with Bootstrap */
body {
    background-color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}



h1 {
    color: #4CAF50;
}


#tagsContainer {
    display: none;
}

#tagsList {
    padding: 0;
}

#tagsList li {
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    background-color: #f1f1f1;
    border-radius: 5px;
    font-size: 14px;
}

#tagsList li:hover {
    background-color: #ddd;
}

/* Extra small devices (phones, 600px and down) */
/* @media (max-width: 576px) {
    .container {
        padding: 10px;
    }
} */
.changing-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.drop-in {
  opacity: 1;
  transform: translateY(0);
}

.text-wrapper {
    position: relative;
    display: inline-block;
    height: 60px;
    overflow: hidden;
    vertical-align: middle;
  }
  body.dark-mode {
    background-color: #121212;
    color: #f1f1f1;
  }
  .dark-mode .form-control,
  .dark-mode .btn,
  .dark-mode .card {
    background-color: #1f1f1f;
    color: #f1f1f1;
    border-color: #444;
  }

  .social-section {
    background: linear-gradient(to right, #0f0f0f, #a6a6a6);
    padding: 40px 0;
    text-align: center;
    color: #fff;
  }
  
  .social-section .follow-heading {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .social-icons a img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0) invert(1);
  }
  
  .social-icons a:hover img {
    transform: scale(1.2);
    filter: brightness(1.2);
  }

  .tag-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
  }

  .tag-modal-content {
    background: #fff;
    width: 90%;
    max-width: 480px;
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    text-align: center;
  }

  .tag-close-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
  }

  .tag-modal-content h2 {
    margin-bottom: 15px;
    color: #d60000;
    font-weight: 600;
  }

  .tag-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    justify-content: center;
    margin-bottom: 15px;
  }

  .tag-box::-webkit-scrollbar {
    height: 6px;
    width: 6px;
  }

  .tag-box::-webkit-scrollbar-thumb {
    background-color: #ff6666;
    border-radius: 8px;
  }

  .tag-box li {
    /* background: linear-gradient(to right, #ff5e5e, #e60000);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap; */
    display: inline-block;
margin: 5px;
padding: 8px 15px;
background-color: #f1f1f1;
border-radius: 5px;
font-size: 14px;
  }

  .tag-copy-btn {
    background: linear-gradient(to right, #e60000, #ff5e5e);
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
  }

  .tag-copy-btn:hover {
    background: linear-gradient(to right, #ff5e5e, #e60000);
  }

  @keyframes fadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }

