.page-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f9fc;
  padding: 20px;
}
.order-time {
    font-size: 14px;
    color: #999;
    margin-top: 4px;
}
.esim-warning-box {
  background-color: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 10px;
  padding: 15px 20px;
  margin: 15px 0;
  color: #795548;
  font-size: 15px;
}
.esim-warning-box ul {
  margin: 0;
  padding-left: 20px;
}
.esim-warning-box li {
  margin-bottom: 8px;
}
.status-badge {
   
    color: white;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 24px;
    font-weight: 600;
    margin-top: 6px;
}
.order-header {
    display: flex
;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
 .order-header h3 {
      margin: 0;
      font-size: 18px;
      font-weight: 600;
    }
.sim-detail {
    background: #015a5c;
    color: #fff;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 16px;
}
.order-container {
    max-width: 480px;
    margin: 10px auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    padding: 15px;
    line-height: 1.5;
}
.esim-card-visual {
      background: linear-gradient(145deg, #ffffff, #f0f4ff);
      border-radius: 18px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.06);
      padding: 10px 20px 10px 24px;
         margin: 0 0 10px 0;
      display: flex;
      flex-direction: column;
      gap: 16px;
      border: 1px solid #e0e8f0;
    }

    .esim-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .flag-circle {
      
      border-radius: 50%;
      font-size: 20px;
      width: 42px;
      height: 42px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .esim-meta {
      flex-grow: 1;
      margin-left: 12px;
    }

    .esim-country {
      font-size: 16px;
      font-weight: 600;
      color: #222;
    }

    .esim-tag {
      font-size: 13px;
      color: #666;
    }

    .esim-price {
      font-size: 18px;
      font-weight: bold;
      color: #2a8f45;
    }

    .esim-details {
      border-top: 1px solid #e0e0e0;
      padding-top: 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .esim-detail {
      font-size: 14px;
      color: #444;
    }

    .esim-detail .icon {
      margin-right: 6px;
    }

    .esim-note {
      font-size: 12.5px;
      color: #888;
      background: #f8fafd;
      border-radius: 10px;
      padding: 10px 14px;
      margin-top: 8px;
      line-height: 1.4;
    }
.esim-details-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.esim-details-wrapper.open {
  max-height: 300px;
  opacity: 1;
}

.toggle-details {
  background: none;
  border: none;
  color: #4fc5ea;
  font-weight: 500;
 
  cursor: pointer;
  font-size: 14px;
}
    .langSwitch {
 
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.langSwitch label {
  font-size: 20px;
  color: #444;
}

.langSwitch select {
  appearance: none;
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 14px;
  font-size: 14px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.langSwitch select:focus {
  outline: none;
  border-color: var(--primary, #4fc5ea);
  box-shadow: 0 0 0 3px rgba(79, 197, 234, 0.2);
}
.sim-detail .total-pay {
    background: #013c3e;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    margin-top: 12px;
    border-radius: 12px;
    font-size: 18px;
}
.esim-activation-card {
  background: #fff;
  border-radius: 20px;
  
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  max-width: 480px;
  margin: auto;
  font-family: 'Inter', sans-serif;
  color: #1f1f1f;
}

.qr-section {
  text-align: center;
  margin-bottom: 24px;
}

.qr-section h4 {
  margin-bottom: 12px;
  font-size: 18px;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 225px;
  margin-bottom: 16px;
}

.image-container img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 12px;
}

.install-btn {
  background-color: #003366;
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 12px;
  margin-top: 12px;
  cursor: pointer;
  width: 100%;
  transition: 0.3s ease;
  text-align: center;
  display: none;
}

.install-btn:hover {
  background-color: #0055aa;
  color: white;
  
}

.copy-btn {
  margin-top: 10px;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  display: none;
}

#esimCode {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  font-family: monospace;
  font-size: 14px;
  background: #f9f9f9;
  border: 1px dashed #ccc;
  border-radius: 10px;
  text-align: center;
}

.info-section h3 {
    font-size: 18px;
    margin-bottom: 12px;
    text-align: center;
    color: #4a6ee0; /* стильный синий-фиолетовый */
}



.thank-you {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #555;
}
.esimCodes {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    background: #f9f9f9;
    border: 1px dashed #ccc;
    border-radius: 10px;
    text-align: center;
}