:root {
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --input-bg: #334155;
    --border-color: #475569;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent-teal: #06b6d4;
    --accent-blue: #3b82f6;
    --success-green: #10b981;
    --danger-red: #ef4444;
    --warning-orange: #f59e0b;
    --shadow: rgba(0, 0, 0, 0.3);
    --text-muted: #64748b;
}

/* Mobile-only adjustments for the Generate box */
@media (max-width: 576px) {
  /* Stack panels and give breathing room */
  .panel-container { width: calc(100% - 16px); gap: 12px; height: auto; }
  .left-panel, .right-panel { width: 100%; height: auto; padding: 14px; border-radius: 14px; }
  .left-panel .grid { row-gap: 10px; column-gap: 10px; }

  /* Compact label pills above each input */
  .left-panel .relative { position: relative; }
  .left-panel .relative > label {
    position: absolute; top: -10px; left: 8px;
    padding: 3px 7px; border-radius: 8px;
    background: #0b1520; color: #cbd5e1;
    border: 1px solid rgba(255,255,255,.08);
    font-size: 11px; letter-spacing: .45px; text-transform: uppercase;
  }

  /* Inputs/selects: taller and easier to tap */
  .left-panel .relative > input[type="text"],
  .left-panel .relative > select {
    padding: 12px; height: 44px; font-size: 14px;
    border-radius: 10px; background: var(--input-bg);
  }

  /* Make generate button full-width */
  #generateBtn { width: 100%; margin-top: 10px; border-radius: 12px; }
}

/* Base & Typography */
*,
:after,
:before {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--dark-bg);
    margin: 0;
    color: var(--text-primary);
    min-height: 100vh;
}

/* Layout & Grid System */
.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Main Card Container */
.main-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

/* Two Panel Layout */
.panel-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 0px;
    margin-bottom: 0px;
    /* Fixed size to match your requirement */
    width: 992px;
    height: 350px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .panel-container {
        width: 100%;
        height: auto;
        max-width: 710px;
    }
}

.left-panel {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    width: 492px;
    height: 350px;
    overflow: hidden;
}

.right-panel {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 492px;
    height: 350px;
    overflow: auto;
}

/* Allow panels to shrink without overflow on narrow screens */
.left-panel,
.right-panel { min-width: 0; }

/* ==== Responsive: keep current design, only adapt widths/gaps ==== */
@media (max-width: 1200px) {
  .panel-container { width: calc(100% - 24px); height: auto; }
  .left-panel, .right-panel { width: 100%; height: auto; }
}

@media (max-width: 992px) {
  .panel-container { width: calc(100% - 20px); }
  .left-panel, .right-panel { width: 100%; height: auto; }
}

@media (max-width: 768px) {
  .panel-container { grid-template-columns: 1fr; gap: 12px; height: auto; }
}

@media (max-width: 576px) {
   /* Mobile-friendly stack and spacing */
   .panel-container { width: calc(100% - 16px); gap: 12px; height: auto; }
   .left-panel, .right-panel { width: 100%; height: auto; padding: 10px; }
   .left-panel .grid { row-gap: 12px; column-gap: 0; grid-template-columns: 1fr !important; }
   /* Force date/money rows to stack */
   .date-inputs, .money-inputs { grid-template-columns: 1fr; gap: 10px; }
   /* Stack CVC and Quantity vertically */
   .form-group-inline { display: block; }
   .form-group-inline .form-group { width: 100%; }
   /* Mobile look: heading-like labels with subtle divider */
   .left-panel .relative > label {
      position: static !important;
      display: flex; align-items: center;
      background: transparent; border: 0; padding: 0; margin: 0 0 6px 2px;
      font-size: 11px; letter-spacing: .4px; text-transform: uppercase;
      color: #94a3b8; /* slate-400 */
   }
   .left-panel .relative > label:after {
      content: ""; flex: 1; height: 1px; background: rgba(148,163,184,.35); margin-left: 6px;
   }
   /* Lighten outlines and tighten radius on small screens */
   .left-panel .relative > input[type="text"],
   .left-panel .relative > select { box-shadow: 0 0 0 1px rgba(255,255,255,.18) !important; border-radius: 8px !important; padding: 10px; }
   #generateBtn { width: 100%; margin-top: 8px; }
  /* Center Generate button on mobile */
  .left-panel #generateBtn { width: auto; display: inline-flex; margin-left: auto; margin-right: auto; }
   .result-container textarea { min-height: 220px; }
  /* Center Copy/Reset buttons on mobile */
  .button-container { justify-content: center; }
}

/* Prevent long lines from breaking layout in result */
.result { white-space: pre-wrap; word-break: break-word; }

/* Footer grid responsive */
@media (max-width: 992px) {
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-top .container, .footer-bottom .container { padding-left: 12px; padding-right: 12px; }
}

@media (max-width: 768px) {
    .panel-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (min-width:768px) {
    .container {
        width: 750px;
    }
}

@media (min-width:992px) {
    .container {
        width: 970px;
    }
    .col-md-4,
    .col-md-6,
    .col-md-8 {
        float: left;
    }
    .col-md-8 {
        width: 66.66666667%;
    }
    .col-md-6 {
        width: 50%;
    }
    .col-md-4 {
        width: 33.33333333%;
    }
    .col-md-offset-2 {
        margin-left: 16.66666667%;
    }
}

@media (min-width:1200px) {
    .container {
        width: 1170px;
    }
}

/*
    /* Column gap reduced for better spacing */
*/
.row {
    margin-left: -5px;
    margin-right: -5px;
}

.col-md-4,
.col-md-6,
.col-md-8 {
    position: relative;
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
}

/*Navigation (Header)*/
.navigations {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg);
    padding: 0 2rem;
    height: 80px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
}

/* ===== Subtle animations ===== */
@keyframes glowPulse {
  0% { text-shadow: 0 0 0 rgba(14,165,233,0.0); }
  100% { text-shadow: 0 0 12px rgba(14,165,233,0.35); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Brand shimmer on hover */
.brand-link .rainbow { transition: filter .25s ease; }
.brand-link:hover .rainbow { animation: glowPulse 1.2s ease-in-out infinite alternate; filter: brightness(1.1); }

/* Panels fade-in */
.left-panel, .right-panel { animation: fadeUp .35s ease both; }

/* Generate / Copy / Reset micro-hover */
#generateBtn { transition: transform .15s ease, box-shadow .15s ease; }
#generateBtn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20,184,166,.25); }
#generateBtn { margin-top: -6px; }
.button-container .btn { transition: transform .15s ease, box-shadow .15s ease; }
.button-container .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(59,130,246,.18); }

/* Author avatar gentle float */
.footer-contact .w-20.h-20 { animation: floatY 6s ease-in-out infinite; }

.site-header {
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
}

.menu-container {
    position: relative;
    display: inline-block;
    z-index: 999;
}

.header-logo {
    height: 50px;
    margin-right: 15px;
}

/* Per-letter rainbow brand styling */
.rainbow span {
    display: inline-block;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

/* Google Brand Colors */
.rainbow span:nth-child(1) { color: #4285f4; } /* Google Blue - E */
.rainbow span:nth-child(2) { color: #ea4335; } /* Google Red - L */
.rainbow span:nth-child(3) { color: #00d4ff; } /* Cyan instead of Yellow - I */
.rainbow span:nth-child(4) { color: #34a853; } /* Google Green - T */
.rainbow span:nth-child(5) { color: #4285f4; } /* Google Blue - E */
.rainbow span:nth-child(6) { color: #ea4335; } /* Google Red - C */
.rainbow span:nth-child(7) { color: #00d4ff; } /* Cyan instead of Yellow - C */
.rainbow span:nth-child(8) { color: #34a853; } /* Google Green - G */
.rainbow span:nth-child(9) { color: #4285f4; } /* Google Blue - E */
.rainbow span:nth-child(10){ color: #ea4335; } /* Google Red - N */

/* Keep brand readable on small screens */
@media (max-width: 480px) {
  .site-header .rainbow span,
  .footer-brand .rainbow span {
    font-size: 16px;
  }
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu-container {
    position: relative;
    display: inline-block;
    z-index: 999;
}

.menu-toggle {
    font-size: 26px;
    cursor: pointer;
    color: white;
    padding: 8px 12px;
    transition: background 0.3s;
}

/* Dropdown menu base style */
.dropdown-menu {
    position: absolute;
    right: 0;
    top: 110%;
    background-color: #060079;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 220px;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Show dropdown */
.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #fa0707;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Form Elements */
label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
}

/* Show same outline line for all Generate fields like BIN */
/* Enforce same outline even against Tailwind ring classes */
.left-panel .relative > input[type="text"],
.left-panel .relative > select {
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    background-color: var(--input-bg) !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.20) !important;
}
.left-panel .relative > input[type="text"]:focus,
.left-panel .relative > select:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28), 0 0 0 4px rgba(13, 148, 136, 0.25) !important;
}

/* Fix misalignment after adding Font Awesome icons */
.left-panel label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    padding: 0 4px;
}
.left-panel label i {
    font-size: 0.9em;
    line-height: 1;
}
.left-panel .text-xs i {
    margin-right: 4px;
    font-size: 0.9em;
}

/* Consistent pill-style form labels for all Generate box fields */
.left-panel .relative { position: relative; }
.left-panel .relative > label {
    position: absolute;
    top: -12px;
    left: 12px;
    z-index: 4;
    background-color: rgba(31,41,55,0.92);
    color: rgba(209,213,219,0.85);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px; /* smaller */
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap;
}

.form-control {
    display: block;
    width: 100%;
    height: 36px;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: var(--text-primary);
    background-color: var(--input-bg);
    background-image: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
    outline: none;
}

textarea.form-control {
    height: 280px;
    resize: vertical;
}

input[type=search] {
    -webkit-appearance: none;
    appearance: none;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

/* Form Grid Layout for Left Panel */
.left-panel .form-group {
    margin-bottom: 20px;
}

.left-panel label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Override Tailwind for our custom form */
.left-panel .space-y-6 > * + * {
    margin-top: 0.2rem;
}

.left-panel .gap-x-3 {
    column-gap: 0.2rem;
}

.left-panel .gap-y-6 {
    row-gap: 0.2rem;
}

.left-panel .py-2 {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.left-panel .px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.left-panel .px-4 {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

.left-panel .py-5 {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.left-panel .text-xs {
    font-size: 0.6rem;
    line-height: 0.8rem;
}

.left-panel .text-sm {
    font-size: 0.7rem;
    line-height: 1rem;
}

.left-panel .leading-6 {
    line-height: 1rem;
}

.left-panel .font-semibold {
    font-weight: 600;
}

.left-panel .font-medium {
    font-weight: 500;
}

.left-panel .tracking-wider {
    letter-spacing: 0.05em;
}

.left-panel .uppercase {
    text-transform: uppercase;
}

.left-panel .rounded-md {
    border-radius: 0.375rem;
}

.left-panel .ring-1 {
    box-shadow: 0 0 0 1px var(--border-color);
}

.left-panel .ring-inset {
    box-shadow: inset 0 0 0 1px var(--border-color);
}

.left-panel .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.left-panel .focus\:ring-2:focus {
    box-shadow: 0 0 0 2px var(--accent-teal);
}

.left-panel .focus\:ring-inset:focus {
    box-shadow: inset 0 0 0 2px var(--accent-teal);
}

.left-panel .focus\:ring-teal-600:focus {
    --tw-ring-color: var(--accent-teal);
}

.left-panel .bg-gray-800 {
    background-color: var(--card-bg);
}

.left-panel .text-gray-300 {
    color: var(--text-primary);
}

.left-panel .text-gray-200 {
    color: var(--text-primary);
}

.left-panel .text-gray-400 {
    color: var(--text-secondary);
}

.left-panel .placeholder\:text-gray-400::placeholder {
    color: var(--text-secondary);
}

.left-panel .dark\:bg-gray-900\/90 {
    background-color: var(--input-bg);
}

.left-panel .ring-gray-500 {
    --tw-ring-color: var(--border-color);
}

.left-panel .text-teal-300 {
    color: var(--accent-teal);
}

.left-panel .bg-teal-700 {
    background-color: var(--accent-teal);
}

.left-panel .bg-teal-600 {
    background-color: var(--accent-teal);
}

.left-panel .hover\:bg-teal-500:hover {
    background-color: #0891b2;
}

.left-panel .text-teal-600 {
    color: var(--accent-teal);
}

.left-panel .bg-gray-700 {
    background-color: var(--border-color);
}

.left-panel .text-gray-400 {
    color: var(--text-secondary);
}

.left-panel .text-white {
    color: white;
}

.left-panel .bg-white {
    background-color: white;
}

.left-panel .dark\:bg-gray-900 {
    background-color: var(--input-bg);
}

.left-panel .dark\:text-gray-800 {
    color: var(--text-primary);
}

/* Toggle Switch Styling for Tailwind */
.left-panel .relative.inline-flex {
    position: relative;
    display: inline-flex;
}

.left-panel .h-5 {
    height: 1.25rem;
}

.left-panel .w-10 {
    width: 2.5rem;
}

.left-panel .flex-shrink-0 {
    flex-shrink: 0;
}

.left-panel .cursor-pointer {
    cursor: pointer;
}

.left-panel .rounded-full {
    border-radius: 9999px;
}

.left-panel .border-2 {
    border-width: 2px;
}

.left-panel .border-transparent {
    border-color: transparent;
}

.left-panel .transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.left-panel .duration-200 {
    transition-duration: 200ms;
}

.left-panel .ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.left-panel .focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.left-panel .focus\:ring-2:focus {
    box-shadow: 0 0 0 2px var(--accent-teal);
}

.left-panel .focus\:ring-teal-300\/80:focus {
    --tw-ring-color: rgba(6, 182, 212, 0.8);
}

.left-panel .focus\:ring-offset-2:focus {
    --tw-ring-offset-width: 2px;
}

.left-panel .dark\:ring-offset-gray-900:focus {
    --tw-ring-offset-color: var(--dark-bg);
}

.left-panel .pointer-events-none {
    pointer-events: none;
}

.left-panel .h-4 {
    height: 1rem;
}

.left-panel .w-4 {
    width: 1rem;
}

.left-panel .transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.left-panel .rounded-full {
    border-radius: 9999px;
}

.left-panel .bg-white {
    background-color: white;
}

.left-panel .shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.left-panel .ring-0 {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.left-panel .transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.left-panel .duration-200 {
    transition-duration: 200ms;
}

.left-panel .ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.left-panel .translate-x-5 {
    --tw-translate-x: 1.25rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.left-panel .translate-x-0 {
    --tw-translate-x: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.left-panel .absolute {
    position: absolute;
}

.left-panel .inset-0 {
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}

.left-panel .flex {
    display: flex;
}

.left-panel .h-full {
    height: 100%;
}

.left-panel .w-full {
    width: 100%;
}

.left-panel .items-center {
    align-items: center;
}

.left-panel .justify-center {
    justify-content: center;
}

.left-panel .transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.left-panel .opacity-100 {
    opacity: 1;
}

.left-panel .opacity-0 {
    opacity: 0;
}

.left-panel .duration-200 {
    transition-duration: 200ms;
}

.left-panel .ease-in {
    transition-timing-function: cubic-bezier(0.4, 0, 1);
}

.left-panel .ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.left-panel .h-3 {
    height: 0.75rem;
}

.left-panel .w-3 {
    width: 0.75rem;
}

.left-panel .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Grid Layout Classes */
.left-panel .grid {
    display: grid;
}

.left-panel .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.left-panel .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.left-panel .sm\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.left-panel .col-span-2 {
    grid-column: span 2 / span 2;
}

.left-panel .sm\:col-span-1 {
    grid-column: span 1 / span 1;
}

.left-panel .gap-x-3 {
    column-gap: 0.5rem;
}

.left-panel .gap-y-6 {
    row-gap: 1rem;
}

.left-panel .gap-x-2 {
    column-gap: 0.5rem;
}

/* Flexbox Classes */
.left-panel .flex {
    display: flex;
}

.left-panel .items-center {
    align-items: center;
}

/* Positioning Classes */
.left-panel .relative {
    position: relative;
}

.left-panel .absolute {
    position: absolute;
}

.left-panel .-top-2 {
    top: -0.5rem;
}

.left-panel .left-2 {
    left: 0.5rem;
}

.left-panel .inline-block {
    display: inline-block;
}

/* Button Classes */
.left-panel .inline-flex {
    display: inline-flex;
}

.left-panel .items-center {
    align-items: center;
}

.left-panel .gap-x-1\.5 {
    column-gap: 0.375rem;
}

.left-panel .px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.left-panel .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.left-panel .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.left-panel .font-semibold {
    font-weight: 600;
}

.left-panel .text-white {
    color: white;
}

.left-panel .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.left-panel .hover\:bg-teal-500:hover {
    background-color: #0891b2;
}

.left-panel .focus-visible\:outline:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.left-panel .focus-visible\:outline-2:focus-visible {
    outline-width: 2px;
}

.left-panel .focus-visible\:outline-offset-2:focus-visible {
    outline-offset: 2px;
}

.left-panel .focus-visible\:outline-teal-600:focus-visible {
    outline-color: var(--accent-teal);
}

/* SVG Classes */
.left-panel .w-5 {
    width: 1.25rem;
}

.left-panel .h-5 {
    height: 1.25rem;
}

/* Date and Money Inputs */
.date-inputs, .money-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.date-inputs .form-group, .money-inputs .form-group {
    margin-bottom: 0;
}

/* Generate Button */
.btn-generate {
    width: 100%;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.input-group-addon {
    width: auto;
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: var(--text-primary);
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.input-group-field {
    display: flex;
    flex-grow: 1;
    min-width: 0;
    vertical-align: middle;
    border-radius: 4px;
}

/* Date section select elements side by side */
.input-group > select.form-control,
.input-group-field > select.form-control {
    flex-grow: 1;
    min-width: 0;
    width: auto;
}

/* CVC input to use available space */
.input-group > input.form-control {
    flex-grow: 1;
    min-width: 0;
    width: auto;
}

/* BIN input formatting */
#bin {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

#bin::placeholder {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* Buttons Styling */
.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.25;
    border-radius: 4px;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-primary {
    color: white;
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    font-weight: 600;
    font-size: 12.5px;
    padding: 8px 16px;
    height: auto;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* Hover/active states for primary buttons */
.btn-primary:hover {
    background: #0891b2;
    border-color: #0891b2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    background: #0e7490;
    border-color: #0e7490;
}

.btn-primary:focus {
    outline: 2px solid rgba(6, 182, 212, 0.4);
    outline-offset: 2px;
}

.btn-secondary {
    color: var(--text-primary);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    font-weight: 500;
    font-size: 13px;
    padding: 6px 14px;
    height: auto;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--input-bg);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.btn-secondary:active {
    background: var(--border-color);
}

.btn-block {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    height: 36px;
}

.btn-block+.btn-block {
    margin-top: 5px;
}

/* Side-by-side button layout */
.button-row {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 0;
}

.btn-half {
    flex: 1;
    height: 40px;
    margin-bottom: 0;
}

/* Remove extra space under the button row */
.form-group.text-center {
    margin-bottom: 0;
    text-align: center;
}

/* Inline sized button (not full width) */
.btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    height: 36px;
    border-radius: 6px;
    margin: 0 4px;
}

/* Right Panel Styling */
.result-container {
    flex: 1;
    margin-bottom: 8px;
    position: relative;
}

.result-container textarea {
    height: 100%;
    min-height: 250px;
    resize: none;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 15.5px;
    line-height: 1.5;
    padding: 8px;
    border-radius: 4px;
}

/* Center message overlay */
.message-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    color: var(--text-secondary);
    pointer-events: none;
}

.button-container {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-top: auto;
}

.button-container .btn {
    padding: 4px 8px;
    font-size: 11px;
    min-width: 50px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.button-container .btn:nth-child(1) {
    background-color: #3b82f6;
    color: white;
    border: none;
}

.button-container .btn:nth-child(1):hover {
    background-color: #2563eb;
}

.button-container .btn:nth-child(2) {
    background-color: #ef4444;
    color: white;
    border: none;
}

.button-container .btn:nth-child(2):hover {
    background-color: #dc2626;
}

.btn-link {
    display: inline-block;
    text-decoration: none;
    background: var(--green);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color-light);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.form-group .btn {
    font-weight: 700;
}

.btn-link i {
    margin-right: 5px;
}

/* BIN Section */
.bin-section {
    padding: 5px 2px;
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
}

.bin-dropdown-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 3px;
}

.bin-dropdown-card {
    flex: 1;
    min-width: 250px;
    font-family: Arial, sans-serif;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    overflow: hidden;
    margin-bottom: 1px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.bin-dropdown-header {
    background-color: var(--danger-red);
    color: white;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.bin-dropdown-title {
    font-weight: bold;
    font-size: 14px;
}

.bin-dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.bin-dropdown-arrow.down {
    transform: rotate(180deg);
}

.bin-dropdown-details {
    background-color: var(--card-bg);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.bin-dropdown-details.show {
    padding: 12px 15px;
    max-height: 500px;
}

.bin-dropdown-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
}

.bin-dropdown-label {
    font-weight: bold;
    color: var(--text-muted);
    min-width: 80px;
}

.bin-dropdown-value {
    color: var(--text-primary);
    text-align: right;
    font-family: monospace;
    cursor: pointer;
}

.bin-live {
    color: var(--success-green);
    font-weight: bold;
}
.bin-dead {
    color: var(--danger-red);
    font-weight: bold;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--card-bg);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    font-family: 'Poppins', sans-serif;
    pointer-events: none;
    max-width: 90%;
    text-align: center;
    border-left: 4px solid var(--success-green);
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
/* When shown inside the result box */
.toast-notification.inbox {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 8px 10px;
    font-size: 12.5px;
    border-left: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 8px;
}
/* Toast content layout and variants */
.toast-notification .toast-row { display: flex; align-items: flex-start; gap: 10px; }
.toast-notification .toast-icon { flex-shrink: 0; font-size: 18px; line-height: 1; }
.toast-notification .toast-body { line-height: 1.35; text-align: left; }
.toast-notification .toast-title { font-weight: 700; margin: 0 0 2px 0; font-size: 14px; }
.toast-notification .toast-text { margin: 0; font-size: 13px; color: var(--text-secondary); }
.toast-notification.success { border-left-color: #10b981; }
.toast-notification.error { border-left-color: #ef4444; }
.toast-notification.info { border-left-color: #3b82f6; }
@media (max-width: 576px) {
  .toast-notification { bottom: 14px; padding: 10px 14px; }
  .toast-notification .toast-title { font-size: 13px; }
  .toast-notification .toast-text { font-size: 12px; }
}

/* Copyable Elements */
.copyable,
.bin-dropdown-value,
.bin-dropdown-bin,
.bin-item code,
.bin-detail code {
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

/* Clearfix */
.container:after,
.container:before,
.nav:after,
.nav:before,
.row:after,
.row:before {
    content: " ";
    display: table;
}

.container:after,
.nav:after,
.row:after {
    clear: both;
}

/* New Footer Styling */
.site-footer {
    margin-top: 30px;
    color: var(--text-primary);
}

/* Keep footer content aligned with main panels */
.site-footer .container {
    width: min(1200px, 100% - 96px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 768px) {
    .site-footer .container {
        width: calc(100% - 32px); /* 16px gutters on small screens */
    }
}

.footer-top {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

/* Author block (footer contact replacement) */
.footer-contact {
    color: var(--text-primary);
}
.footer-contact h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}
.footer-contact .relative {
    position: relative;
}
.footer-contact .w-20 {
    width: 80px;
}
.footer-contact .h-20 {
    height: 80px;
}
.footer-contact .rounded-full {
    border-radius: 9999px;
}
.footer-contact .border-3 {
    border-width: 3px;
}
.footer-contact .border-yellow-400 {
    border-color: #f59e0b;
}
.footer-contact .shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3), 0 4px 6px -4px rgba(0,0,0,0.3);
}
.footer-contact .text-blue-400 { color: #60a5fa; }
.footer-contact .text-gray-300 { color: #d1d5db; }
.footer-contact .text-gray-400 { color: #9ca3af; }
.footer-contact .text-gray-500 { color: #6b7280; }
.footer-contact .text-gray-600 { color: #4b5563; }
.footer-contact .bg-green-500 { background-color: #22c55e; }
.footer-contact .border-gray-800 { border-color: #1f2937; }
.footer-contact .text-white { color: #ffffff; }
.footer-contact .text-xs { font-size: 12px; }
.footer-contact .mb-2 { margin-bottom: 8px; }
.footer-contact .space-y-1 > * + * { margin-top: 4px; }
.footer-contact img { display: inline-block; }

/* Author tagline colors */
.author-tagline { color: #9ca3af; }
.author-subtag { color: #60a5fa; }

/* Sponsor logo hover */
.sponsor-link .sponsor-logo {
    transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}
.sponsor-link:hover .sponsor-logo {
    transform: scale(1.08);
    opacity: 1;
    /* show red on hover */
    filter: invert(17%) sepia(94%) saturate(6400%) hue-rotate(-5deg) brightness(95%) contrast(105%);
}
/* Click/focus state: turn logo red instead of black */
.sponsor-link:active .sponsor-logo,
.sponsor-link:focus .sponsor-logo {
    transform: scale(1.08);
    opacity: 1;
    /* filter mix to approximate red */
    filter: invert(17%) sepia(94%) saturate(6400%) hue-rotate(-5deg) brightness(95%) contrast(105%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand .brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.brand-title {
    font-weight: 700;
    font-size: 18px;
}

.brand-desc {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Decorative tagline font */
.brand-desc strong {
    font-family: 'Pacifico', cursive;
    color: #00d4ff;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.brand-desc em {
    font-style: italic;
    color: var(--green);
    font-size: 0.9em;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin: 8px 0;
}

.footer-links a,
.footer-contact a {
    color: var(--text-primary);
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-teal);
}

.footer-social {
    margin-top: 12px;
    display: flex;
    gap: 12px;
}

.footer-social a {
    color: var(--text-primary);
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    background-color: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    padding: 10px 0;
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Ensure Copy/Reset are centered on mobile (override placed after base rule) */
@media (max-width: 576px) {
  .button-container { justify-content: center !important; width: 100%; }
}

@media (max-width: 768px) {
    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }
}

/* Colors for live/dead/unknown (Used within BIN section) */
.live {
    color: var(--green);
}
.dead {
    color: var(--red-dead);
}
.unknown {
    color: var(--orange-unknown);
}

/* CVC and Quantity fields responsive layout */
@media (max-width: 768px) {
    /* Header layout for small screens */
    .navigations {
        flex-direction: row;
        align-items: center;
        height: 60px;
        padding: 0 1rem;
        justify-content: space-between;
    }

    .site-header {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
        font-size: 20px;
    }

    .header-logo {
        height: 40px;
        margin-right: 10px;
    }

    /*
      /* Column classes responsive behavior */
    */
    .col-md-8,
    .col-md-4,
    .col-md-6 {
        width: 100%; /* Full width on small screens */
        float: none; /* Remove floating behavior */
        padding-left: 15px; /* Default Bootstrap padding */
        padding-right: 15px; /* Default Bootstrap padding */
        box-sizing: border-box;
    }

    /*
      /* Row container adjustments */
    */
    
    .form-group .input-group > select.form-control,
    .form-group .input-group .input-group-field > select.form-control {
        flex-grow: 1;
        min-width: 0;
        width: auto;
    }

    /*
      /* Removed specific width styles for CVC and Quantity fields */
    */

    .col-md-8 .input-group {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
        width: 100%;
    }

    .col-md-8 .input-group .input-group-addon {
        flex-shrink: 0;
        width: auto;
        padding: 10px 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .col-md-8 .input-group input.form-control {
        flex-grow: 1;
        width: auto;
    }

    .form-group > input.form-control {
        width: 100%;
        box-sizing: border-box;
    }

    .col-md-4 .form-group > input.form-control {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Custom styles for CVC and Quantity to be side-by-side */
.form-group-inline {
    display: flex;
    gap: 10px; /* Match gap with .input-group for date */
    margin-bottom: 15px;
    flex-wrap: nowrap; /* Prevent wrapping on small screens */
}

.form-group-inline .form-group {
    flex: 1; /* Allow flex items to grow and shrink */
    min-width: 0; /* Allow shrinking below 150px if needed */
    margin-bottom: 0; /* Remove default margin-bottom from form-group */
}

/* Adjust input-group within form-group-inline for better alignment */
.form-group-inline .form-group .input-group {
    width: 100%;
    height: 45px; /* Match height of other inputs */
}

/* Adjust input-group-addon for CVC to match date input-group-addon */
.form-group-inline .cvc-group .input-group-addon {
    padding: 10px 15px; /* Match padding */
}

/* BIN Information Box */
.bin-info-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    padding: 0 15px;
    max-width: 1200px;
}

.bin-info-box {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 12px;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.bin-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
}

.bin-info-header {
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #374151;
}

.bin-info-header h3 {
    color: #f3f4f6;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bin-info-header i {
    color: #10b981;
}

.bin-info-content {
    margin-bottom: 8px;
}

.bin-info-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #2d3748;
    gap: 12px;
}

.bin-info-item:last-child {
    border-bottom: none;
}

.bin-info-label {
    color: #9ca3af;
    font-weight: 500;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    flex-shrink: 0;
}

.bin-info-label i {
    color: #10b981;
    font-size: 10px;
    width: 12px;
    text-align: center;
}

.bin-info-value {
    color: #f3f4f6;
    font-weight: 600;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    flex: 1;
    word-break: break-word;
}

.bin-info-flag {
    font-size: 12px;
}

.bin-info-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px solid #374151;
}

.last-updated {
    color: #6b7280;
    font-size: 9px;
    font-style: italic;
}

.btn-copy-info {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: 1px solid #10b981;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-copy-info:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.btn-copy-info:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.btn-copy-info i {
    font-size: 8px;
}

/* Responsive BIN info box for different screen sizes */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .bin-info-container {
        margin: 15px auto;
        padding: 0 20px;
    }
    
    .bin-info-box {
        max-width: 300px;
        padding: 10px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .bin-info-container {
        margin: 8px auto;
        padding: 0 12px;
    }
    
    .bin-info-box {
        max-width: 300px;
        padding: 8px;
        border-radius: 5px;
    }
    
    .bin-info-header h3 {
        font-size: 11px;
    }
    
    .bin-info-item {
        padding: 2px 0;
    }
    
    .bin-info-label,
    .bin-info-value {
        font-size: 9px;
    }
}

/* Mobile phones */
@media (max-width: 640px) {
    .bin-info-container {
        margin: 12px auto;
        padding: 0 12px;
    }
    
    .bin-info-box {
        padding: 12px;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        max-width: 340px;
    }
    
    .bin-info-header {
        margin-bottom: 8px;
        padding-bottom: 6px;
    }
    
    .bin-info-header h3 {
        font-size: 12px;
        gap: 5px;
    }
    
    .bin-info-content {
        margin-bottom: 8px;
    }
    
    .bin-info-item {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 4px 0;
        border-bottom: 1px solid #2d3748;
    }
    
    .bin-info-item:last-child {
        border-bottom: none;
    }
    
    .bin-info-label {
        font-size: 9px;
        font-weight: 600;
        color: #d1d5db;
        gap: 4px;
        min-width: 60px;
        flex-shrink: 0;
    }
    
    .bin-info-label i {
        font-size: 8px;
        width: 10px;
    }
    
    .bin-info-value {
        font-size: 10px;
        font-weight: 500;
        color: #f9fafb;
    }
    
    .bin-info-flag {
        font-size: 10px;
    }
    
    .bin-info-footer {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
        padding-top: 6px;
    }
    
    .last-updated {
        font-size: 8px;
        color: #9ca3af;
    }
    
    .btn-copy-info {
        padding: 4px 8px;
        font-size: 8px;
        border-radius: 4px;
        align-self: flex-start;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .bin-info-container {
        margin: 10px auto;
        padding: 0 10px;
    }
    
    .bin-info-box {
        padding: 10px;
        border-radius: 5px;
        max-width: 280px;
    }
    
    .bin-info-header h3 {
        font-size: 11px;
    }
    
    .bin-info-item {
        padding: 3px 0;
        gap: 6px;
    }
    
    .bin-info-label {
        font-size: 8px;
    }
    
    .bin-info-value {
        font-size: 9px;
    }
    
    .bin-info-flag {
        font-size: 9px;
    }
    
    .last-updated {
        font-size: 7px;
    }
    
    .btn-copy-info {
        padding: 4px 6px;
        font-size: 7px;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .bin-info-container {
        margin: 8px auto;
        padding: 0 8px;
    }
    
    .bin-info-box {
        padding: 8px;
        max-width: 260px;
    }
    
    .bin-info-header h3 {
        font-size: 10px;
    }
    
    .bin-info-item {
        padding: 2px 0;
        gap: 4px;
    }
    
    .bin-info-label {
        font-size: 7px;
    }
    
    .bin-info-value {
        font-size: 8px;
    }
}
