.bifrost-meta {
  margin-bottom: 6px;
  color: #444;
  font-size: 14px;
}
.bifrost-meta-custom {
  margin-top: 4px;
  line-height: 1.4;
  font-size: 14px;
  color: #444;
}
dl.variation dt {
  display: none !important;
}
#bifrost_expiry_date {
  background: white;
}
#bifrost-mainproducts-table td:last-child {
  font-weight: 600;
}
#bifrost-mainproducts-table td:last-child:contains("Dostępny") {
  color: green;
}
#bifrost-mainproducts-table td:last-child:contains("Wycofany") {
  color: red;
}
.blurred {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
  position: relative;
}
.locked::after {
  content: "🔒 Aby kontynuować, wpisz numer licencji";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 1rem 2rem;
  border: 2px solid #000;
  font-size: 16px;
  z-index: 999;
}
.blurred.fadeout {
  filter: none !important;
  pointer-events: auto !important;
  user-select: auto !important;
  transition: filter 0.6s ease, opacity 0.6s ease;
  opacity: 1 !important;
}
.fadeout {
  animation: fadeInBifrost 0.6s ease-out;
}

@keyframes fadeInBifrost {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.bifrost-box {
  background: #fff;
  border-left: 5px solid #007bff;
  padding: 1.5rem;
  border-radius: 8px;
  font-family: "Segoe UI", Roboto, sans-serif;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.bifrost-box-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: #2c2c2c;
}

.bifrost-box-desc {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.bifrost-form-inline {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.bifrost-input {
  flex: 1;
  min-width: 200px;
  max-width: 500px;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.bifrost-button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.bifrost-button:hover {
  background: #ffa500;
}

.bifrost-tooltip-icon {
  font-size: 1.1rem;
  cursor: help;
  color: #888;
}

.bifrost-message {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #333;
}
.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top: 2px solid #fff;
  border-radius: 50%;
  margin-left: 8px;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.bifrost-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.bifrost-buy-btn,
.bifrost-retry-btn {
  display: inline-block;
  text-align: center;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 1rem;
  transition: all 0.2s;
  min-width: 220px;
}

.bifrost-buy-btn {
  background: #007bff;
  color: #fff;
  box-shadow: 0 4px 10px rgba(125, 91, 166, 0.3);
}

.bifrost-buy-btn:hover {
  background: #ffa500;
  color: white;
  box-shadow: 0 6px 14px rgba(103, 67, 142, 0.4);
}

.bifrost-retry-btn {
  background: #fff;
  border: 2px solid #007bff;
  color: #007bff;
}

.bifrost-retry-btn:hover {
  border: 2px solid #ffa500;
  color: #ffa500;
}
.swal2-confirm-bifrost {
  background-color: #007bff !important;
  border: none !important;
}

.swal2-cancel-bifrost {
  border: 1px solid #007bff !important;
  color: #007bff !important;
  background: #fff !important;
}
.swal2-confirm-bifrost {
  background-color: #007bff !important;
  border: none !important;
}

.swal2-cancel-bifrost {
  border: 2px solid #007bff !important;
  color: #007bff !important;
  background: #fff !important;
}
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

.license-card {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f6f6f6;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", Roboto, sans-serif;
  text-align: center;
}

.license-card h2 {
  margin-bottom: 2rem;
  font-size: 1.6rem;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.license-item {
  background: #fff;
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s;
}

.license-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.content {
  font-size: 1rem;
  color: #333;
}
.icon[title] {
  position: relative;
  cursor: help;
}

.icon[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 10;
  opacity: 0.9;
}
.license-preloader {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  padding: 2rem 0;
  animation: fadein 1s ease-in-out infinite alternate;
}

@keyframes fadein {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.license-accordion {
  margin-top: 2rem;
  text-align: center;
}

.license-accordion-btn {
  background: #007bff;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.license-accordion-btn:hover {
  background: #ffa500;
}

.license-details {
  margin-top: 1.5rem;
  text-align: left;
  background: #eef0f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  opacity: 1; /* <- ważne */
  transition: opacity 0.3s ease-in-out;
}

.license-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.license-details li {
  margin-bottom: 0.8rem;
}
.bifrost-product-license-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  max-width: 600px;
  margin: auto;
  text-align: center;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.bifrost-product-license-card .license-header {
  background: #007bff;
  color: white;
  padding: 1rem;
  font-weight: bold;
  border-radius: 8px 8px 0 0;
  border-bottom: 2px solid #007bff;
}

.bifrost-product-license-card .license-content h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #000;
}

.bifrost-product-license-card .license-content h3 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.bifrost-product-license-card .license-content p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #555;
}
.bifrost-product-license-card {
  animation: appear 0.6s ease-out forwards;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 600px) {
  .bifrost-product-license-card {
    margin: 1rem;
    padding: 1rem;
  }
}
