/* =========================================
   THBP Seller Auth - Popup Container
   File: /inc/thbp-seller/assets/seller-auth.css
========================================= */

.thbp-seller-auth-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.thbp-seller-auth-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}


/* =========================================
   THBP Seller Auth - Modal Box
========================================= */

.thbp-seller-auth-modal {
  position: relative;
  max-width: 460px;
  margin: 80px auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.thbp-seller-auth-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}


/* =========================================
   THBP Seller Auth - Header
========================================= */

.thbp-seller-auth-header h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.thbp-seller-auth-header p {
  margin: 0 0 18px;
  color: #5b6470;
}


/* =========================================
   THBP Seller Auth - Tabs
========================================= */

.thbp-seller-auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.thbp-seller-auth-tab {
  flex: 1;
  border: 1px solid #d8dee8;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}

.thbp-seller-auth-tab.is-active {
  background: #1d4ed8;
  color: #fff;
  border-color: #1d4ed8;
}


/* =========================================
   THBP Seller Auth - Panels
========================================= */

.thbp-seller-auth-panel {
  display: none;
}

.thbp-seller-auth-panel.is-active {
  display: block;
}


/* =========================================
   THBP Seller Auth - Form
========================================= */

.thbp-seller-auth-form {
  display: grid;
  gap: 14px;
}

.thbp-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.thbp-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6dce5;
  border-radius: 10px;
  font-size: 15px;
}

.thbp-seller-auth-submit {
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  background: #1d4ed8;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}


/* =========================================
   THBP Seller Auth - Message Box
   Purpose: Show success + error messages
========================================= */

.thbp-seller-auth-message {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
  display: none;
}

.thbp-seller-auth-message.is-success {
  background: #ecfdf3;
  border: 1px solid #b7ebc6;
  color: #166534;
}

.thbp-seller-auth-message.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}


/* =========================================
   THBP Seller Auth - Body Lock
========================================= */

body.thbp-seller-popup-open {
  overflow: hidden;
}

/* ===============================
   Google Button Center Fix
   =============================== */

#thbp-google-login {
  display: flex;
  justify-content: center;
  margin: 0 0 14px;
}

