/* Layout-specific styles (shared) */

.tp-navbar {
  background: white !important;
  background-color: white !important;
  border-bottom: 1px solid #e9ecef;
  padding: 1rem 0;
  width: 100%;
  margin: 0;
}

.tp-navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.tp-navbar-logo {
  width: 250px;
  height: auto;
  display: block;
}

.tp-navlink {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  margin: 0 1rem;
}

.tp-navbar-form-btn {
  margin-left: 1rem;
}

.tp-navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tp-navbar-nav {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.tp-hero {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 2rem 2rem 1rem 2rem;
  text-align: center;
}

.tp-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tp-hero-subhead {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 0;
}

.tp-dashboard-content {
  padding: 2rem 2rem 3rem 2rem;
}

.tp-dashboard-content--compact {
  padding: 1rem 2rem 3rem 2rem;
}

.tp-impersonation-banner {
  background: #f59e0b;
  color: white;
  padding: 1rem;
  text-align: center;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tp-impersonation-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.tp-impersonation-left {
  flex: 1;
  min-width: 200px;
}

.tp-impersonation-icon {
  margin-right: 0.5rem;
}

.tp-impersonation-sep {
  opacity: 0.8;
  margin: 0 0.5rem;
}

.tp-impersonation-as {
  opacity: 0.9;
}

.tp-impersonation-exit-btn {
  background: white;
  color: #f59e0b;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tp-logout-btn {
  background: #f3f4f6;
  color: #374151;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #d1d5db;
  display: inline-flex;
  align-items: center;
}

.tp-logout-btn:hover {
  background: #e5e7eb;
  color: #1f2937;
}

.tp-container-sm {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.tp-pre-scroll {
  max-height: 300px;
  overflow-y: auto;
}

.tp-refund-policy-iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.tp-date-picker-wrap {
  position: relative;
  min-width: 220px;
}

.tp-date-input {
  min-width: 220px;
  padding-right: 2.5rem;
}

.tp-btn-modern-cancel {
  background: #6b7280;
}

.tp-muted-small {
  font-size: 0.85rem;
  line-height: 1.1;
}

.tp-btn-action-continue {
  background: #10b981;
  color: white;
}

.tp-ms-2rem {
  margin-left: 2rem;
}

.tp-text-xs {
  font-size: 0.75rem;
}

.tp-minh-40 {
  min-height: 2.5rem;
}

.tp-scroll-400 {
  max-height: 400px;
  overflow-y: auto;
}

.tp-avatar-32 {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
}

.tp-min-w-0 {
  min-width: 0;
}

.tp-badge-xs {
  font-size: 0.65rem;
}

.tp-minw-260 {
  min-width: 260px;
}

.tp-minw-150 {
  min-width: 150px;
}

.tp-bg-purple {
  background-color: #8b5cf6;
}

.tp-bg-google-blue {
  background-color: #4285f4;
}

.tp-status-badge--connected {
  background-color: #d1fae5;
  color: #065f46;
  border-color: #a7f3d0;
}

.tp-pre-wrap {
  white-space: pre-wrap;
}

.tp-drive-setup-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.tp-drive-setup-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.tp-drive-setup-modal__panel {
  position: relative;
  max-width: 720px;
  width: calc(100% - 32px);
  margin: 8vh auto 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  padding: 16px;
}

.tp-drive-setup-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tp-maxw-400 {
  max-width: 400px;
}

.tp-z-9999 {
  z-index: 9999;
}

.tp-text-xxs {
  font-size: 10px;
}

.tp-minw-120 {
  min-width: 120px;
}

.tp-h-500 {
  height: 500px;
}

.tp-toast {
  min-width: 300px;
  margin-bottom: 10px;
}

.tp-card-header-gradient-success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.tp-card-header-gradient-danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.tp-w-220 {
  width: 220px;
}

.tp-maxw-520 {
  max-width: 520px;
}

.tp-w-260 {
  width: 260px;
}

.tp-w-180 {
  width: 180px;
}

.tp-cursor-pointer {
  cursor: pointer;
}




.tp-w-42 {
  width: 42px;
}


.tp-hide {
  display: none;
}

.upload-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-zone:hover {
  border-color: #10b981;
  background: #f0fdf4;
}

.upload-zone--staff:hover {
  border-color: #2563eb;
  background: #eff6ff;
}

.upload-zone-icon {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.upload-zone-icon--staff {
  color: #2563eb;
}

.upload-zone-text {
  color: #1f2937;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.upload-zone-hint {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.upload-formats {
  color: #6b7280;
  font-size: 0.85rem;
}

.file-preview-title {
  color: #4b5563;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tp-progress {
  height: 30px;
  border-radius: 15px;
  background: #f1f5f9;
}

.tp-progress-sm {
  height: 8px;
}


.tp-progress-bar {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.tp-upload-page-container {

.tp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-modal-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.tp-icon-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.tp-icon-bubble--success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.tp-icon-bubble--danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.tp-anim-fade-in {
  animation: fadeIn 0.2s;
}

.tp-anim-slide-up {
  animation: slideUp 0.3s;
}

  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.tp-card-example-wrap {
  max-width: 400px;
  margin-bottom: 2rem;
}

.tp-debug-overlay {
  position: fixed;
  top: 10px;
  right: 10px;
  background: #fff;
  border: 2px solid #10b981;
  padding: 15px;
  z-index: 9999;
  max-width: 400px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tp-debug-overlay h3 {
  margin: 0 0 10px 0;
  color: #10b981;
  font-size: 14px;
}

.tp-debug-overlay .tp-debug-row {
  margin-bottom: 5px;
}

.tp-debug-overlay .tp-debug-footnote {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 10px;
}
