body {
    font-family: sans-serif;
    -webkit-user-select: text;
    user-select: text;
}
.card {
    background: white;
    width: 284px;
    min-height: 284px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.dark .card {
    background: #1f2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.card img {
    width: 282px;
    height: 188px;
    object-fit: cover;
    border-radius: 8px;
}
.card p {
    margin: 8px 0;
    font-size: 0.85rem;
    line-height: 1.2;
    text-align: center;
    flex-shrink: 0;
    word-break: break-word;
}
.card-actions {
    display: flex;
    gap: 8px;
    width: 100%;
    justify-content: center;
    margin-top: auto;
    padding: 6px 0;
    flex-shrink: 0;
}
.copy-btn, .download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #d1d5db;
}
.copy-btn {
    background-color: #fff400;
}
.copy-btn:hover {
    background-color: #ebe20f;
}
.dark .copy-btn {
    background-color: #4b5563;
    border: 1px solid #6b7280;
}
.dark .copy-btn:hover {
    background-color: #6b7280;
}
.download-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
}
.download-btn:hover {
    background-color: #2563eb;
}
.dark .download-btn {
    background-color: #2563eb;
}
.dark .download-btn:hover {
    background-color: #1d4ed8;
}
.sidebar {
    min-width: 250px;
    align-self: flex-start;
}
@media (min-width: 640px) {
    .sidebar {
        position: sticky;
        top: 1rem;
        height: fit-content;
    }
}
@media (max-width: 639px) {
    .sidebar {
        min-width: 100%;
        position: static;
    }
    .card {
        width: 100%;
        min-height: auto;
    }
    .card p {
        font-size: 1rem;
    }
    .card-actions {
        flex-direction: column;
    }
    .copy-btn, .download-btn {
        width: 100%;
        margin-bottom: 4px;
    }
    .card img {
        width: 100%;
        height: auto;
    }
}
.processing-bar {
    width: 100%;
    height: 4px;
    background-color: #e5e7eb;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    display: none;
}
.processing-bar.active {
    display: block;
}
.processing-bar::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: #3b82f6;
    animation: slide 1.5s infinite;
}
@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}
.highlight-select {
    color: #10b981; /* Emerald green for "Select" */
    font-weight: bold;
}
.highlight-type {
    color: #f59e0b; /* Amber for image type (e.g., JPG) */
    font-weight: bold;
}
.highlight-dimensions {
    color: #3b82f6; /* Blue for dimensions (e.g., 1200x675) */
    font-weight: bold;
}
.highlight-size {
    color: #ef4444; /* Red for size (e.g., 61.68 KB) */
}
.feature-box {
    background-color: #ffdd00;
    border: 1px solid #000;
    padding: 6px 12px;
    border-radius: 6px;
    text-align: center;
}
.dark .feature-box {
    background-color: #ffdd00;
    border: 1px solid #6b7280;
}
.feature-box:hover {
    background-color: #f5d81a;
}
.dark .feature-box:hover {
    background-color: #f5d81a;
}
.nav-link {
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}
.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.nav-link-mobile {
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}
.nav-link-mobile:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Common wrapper */
  .ad-box {
    text-align:center;
    margin:20px auto;
  }

  /* Desktop (default) → auto width responsive */
  .ad-box ins {
    display:block;
    width:100%;
    min-height:250px; /* CLS कम करने के लिए minimum height */
  }

  /* Mobile पर fix size (300x250) */
  @media (max-width: 767px) {
    .ad-box ins {
      display:inline-block !important;
      width:300px !important;
      height:250px !important;
    }
  }
  
  
  