/* Printers Account Phase 6 CSS — 2026-08-31 */

/* === B2B Banner === */
.pt-account-b2b {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
  border: 1px solid #d6dffb;
  border-radius: 16px;
  margin: 0 0 32px;
  box-shadow: 0 2px 12px rgba(11, 33, 240, 0.06);
}
.pt-account-b2b-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: #0b21f0;
  box-shadow: 0 2px 8px rgba(11, 33, 240, 0.1);
}
.pt-account-b2b-content {
  flex: 1;
  min-width: 0;
}
.pt-account-b2b-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.pt-account-b2b-sub {
  font-size: 14px;
  color: #5a5a6e;
  line-height: 1.5;
}
.pt-account-b2b-btn {
  flex-shrink: 0;
  padding: 12px 22px;
  background: linear-gradient(180deg, #0b21f0 0%, #0014c8 100%);
  color: #fff !important;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.pt-account-b2b-btn:hover {
  background: linear-gradient(180deg, #0014c8 0%, #0010a0 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 33, 240, 0.3);
}

/* === Trust row === */
.pt-account-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 24px 0 32px;
  padding: 16px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 12px;
}
.pt-account-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5a5a6e;
  font-weight: 500;
}
.pt-account-trust-item svg {
  color: #0b21f0;
}

/* === Logged-in welcome === */
.pt-account-welcome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
  border: 1px solid #d6dffb;
  border-radius: 14px;
  margin-bottom: 24px;
}
.pt-account-welcome-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: #0b21f0;
  box-shadow: 0 2px 8px rgba(11, 33, 240, 0.1);
}
.pt-account-welcome-content {
  flex: 1;
}
.pt-account-welcome-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.pt-account-welcome-sub {
  font-size: 13px;
  color: #5a5a6e;
}

/* === B2B Modal (reuses cart modal style) === */
.pt-b2b-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pt-b2b-modal.pt-open {
  display: flex !important;
}
.pt-b2b-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.pt-b2b-modal-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.pt-b2b-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: #f3f3f7;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pt-b2b-modal-close:hover {
  background: #e8e8ed;
}
.pt-b2b-modal-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1a1a1a;
}
.pt-b2b-modal-card > p {
  font-size: 14px;
  color: #5a5a6e;
  margin: 0 0 24px;
  line-height: 1.6;
}
.pt-b2b-modal-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pt-b2b-modal-wa,
.pt-b2b-modal-email,
.pt-b2b-modal-phone {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #f7f8fc;
  border: 1px solid #e8eaf0;
}
.pt-b2b-modal-wa strong,
.pt-b2b-modal-email strong,
.pt-b2b-modal-phone strong {
  font-size: 14px;
  color: #0b21f0;
  font-weight: 600;
  margin-bottom: 2px;
}
.pt-b2b-modal-wa span,
.pt-b2b-modal-email span,
.pt-b2b-modal-phone span {
  font-size: 12px;
  color: #666;
}
.pt-b2b-modal-wa:hover,
.pt-b2b-modal-email:hover,
.pt-b2b-modal-phone:hover {
  background: #fff;
  border-color: #0b21f0;
  transform: translateY(-1px);
}

/* === Mobile === */
@media (max-width: 768px) {
  .pt-account-b2b {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .pt-account-b2b-btn {
    width: 100%;
    text-align: center;
  }
  .pt-account-trust {
    flex-wrap: wrap;
    gap: 16px;
  }
  .pt-account-trust-item {
    font-size: 12px;
  }
}