/* ---------- Palette variables ---------- */
:root{
  --pli-orange: #e28d47;   /* accent 1 */
  --pli-saffron:#F2C137;   /* accent 2 */
  --pli-light:  #D8D8D8;   /* light neutral */
  --pli-white:  #fdfffc;
  --pli-night:  #111111;   /* dark neutral */
  --pli-text:   #0f1720;
  --nav-height: 64px;
  
  --bs-body-font-family: 'Ubuntu', system-ui, -apple-system,
    'Segoe UI', Roboto, Arial, sans-serif;
}


/* GLOBAL FONT ENFORCEMENT */
html, body,
button,
input,
select,
textarea,
.btn,
.form-control,
.form-select,
.dropdown-menu,
.navbar,
.modal,
.tooltip,
.popover,
.select2-container,
.select2-selection,
.table {
  font-family: 'Ubuntu', system-ui, -apple-system,
    'Segoe UI', Roboto, Arial, sans-serif !important;
    
    margin: 0;
    padding: 0;
    overflow-y: hidden;
}


.container-fluid {
  overflow-x: hidden;
}

/* console page */
.profile-wrapper {
  background: #fff;
 /* padding: 10px;*/
}

/* CARD */
.card {
  border: 1px solid #000;
  margin-bottom: 20px;
}

.card-header {
  font-weight: 700;
  padding: 6px 10px;
  border-bottom: 1px solid #000;
  padding: 10px !important;
}

/* USER SETTINGS */
.user-settings-grid {
  display: grid;
  grid-template-columns: 40% 30% 30%;
  gap: 20px;
  padding: 10px;
  align-items: start;
}

/* LEFT + MIDDLE ROWS */
.settings-left .row,
.settings-middle .row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  margin-bottom: 8px;
  white-space: nowrap;
  column-gap: 30px;
  min-height: 30px;
  
}


/* SELECTS */
.settings-middle select {
  width: 100%;
  padding: 4px;
  border: 1px solid #ddd;
}

/* BADGE */
.badge {
  background: #000;
  color: #fff;
  padding: 2px 8px;
  font-size: 0.8rem;
}

/* LOGO */
.settings-logo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
}

.settings-logo img {
  width: 50%;
  max-width: 160px;
  height: auto;
}


/* QUICK ACTIONS */
.quick-actions {
  display: flex;
  gap: 10px;
  padding: 10px;
}

.quick-btn {
  background: #e28d47;
  border: 1px solid #cc7a3f;
  padding: 6px 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  color: #fff;
}

.quick-btn.active {
  background: #c8742f;
}

/* TABLE */
.details-table {
  width: 100%;
  border-collapse: collapse;
}

.details-table th,
.details-table td {
  border: 1px solid #ddd;
  padding: 6px;
  text-align: center;
}

.details-table th {
  font-weight: 700;
}

.warning {
  color: #c00;
  font-weight: 700;
}

/* ACTION BAR */
.action-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px;
}



.btn {
  padding: 6px 18px;
  font-weight: 700;
  border: 1px solid #ddd;        /* always present */
  cursor: pointer;
  box-sizing: border-box;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}
.btn.outline {
  background: #e28d47;
  color: #fff;
  border-color: #e28d47;
}

.btn.outline:hover {
  background: #f2f4f3;
  box-shadow: 0 4px 10px rgba(226,141,71,0.45);
  border-color: #e28d47;   /* change color only */
  color: #e28d47;
}
.btn.danger {
  background: #e28d47;
  color: #fff;
  border-color: #e28d47;
}

.btn.danger:hover {
  background: #f2f4f3;
  box-shadow: 0 4px 10px rgba(226,141,71,0.45);
  border-color: #e28d47;
  color: #e28d47;
}



/* HEADER SPLIT */
.profile-header-grid {
  display: grid;
  grid-template-columns: 40% 30% 30%;
}

.profile-title,
.settings-title {
  font-weight: 700;
}

.settings-title {
  text-align: left;
  margin-left: 20px;
}

/*account overview*/

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.designer-cta {
  background: #e28d47;
  color: #fff;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid #e28d47;   /* fixed border */
  box-sizing: border-box;
  transition: 
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.designer-cta:hover {
  background: #f2f4f3;        /* gradient not needed if same color */
  box-shadow: 0 4px 10px rgba(226,141,71,0.45);
  border-color: #e28d47;      /* keep border, no resize */
  color: #e28d47;
}



.account-overview-row {
  display: flex;
  align-items: center;
  gap: 32px;              /* tighter spacing */
  padding: 10px 12px;
  font-size: 0.9rem;
}


.account-overview-row {
  gap: 40px;
}

.overview-item {
  display: flex;
  gap: 6px;
  font-size: 0.9rem;
}



.overview-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.overview-item .label {
  font-weight: 600;
  color: #444;
}

.overview-item .value {
  font-weight: 700;
  color: #222;
}

/* separator ONLY between Users and Printers */
.overview-item:not(.overview-plan):not(:last-child)::after {
  content: "|";
  margin-left: 32px;
  color: #ccc;
}


.overview-plan {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-main {
  display: flex;
  gap: 6px;
  align-items: center;
}

.plan-sub {
  font-size: 0.70rem;
  color: #666;
  padding-left: 1px; /* aligns under plan name */
  white-space: nowrap;
}

/* User console Tab*/

.users-center {
  width: 95%;
  margin: 15px auto;
}

.users-top {
  margin-top: 8px;
  margin-bottom: 8px;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
}

.users-table th,
.users-table td {
  border: 1px solid #ddd;
  padding: 5px 8px;
  text-align: left;
}

.users-table thead {
  background: #f7f7f7;   /* same as Account Overview / Profile */
  border-bottom: 1px solid #dcdcdc;
}

.users-table th {
  font-weight: 600;      /* closer to console style than bold */
  color: #222;
}



.edit-btn {
  background: #e28d47;
  padding: 3px 10px;
  cursor: pointer;
  display: inline-block;
  color: #fff;
}

.edit-btn:hover  {
  background: linear-gradient(90deg, #f2f4f3 0%, #f2f4f3 100%);
  box-shadow: 0 4px 10px rgba(226,141,71,0.45);
  border: 1px;
  color: #e28d47
}
  
.users-actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 25px;
}

.action-btn {
  background: #e28d47;
  border: none;
  padding: 8px 22px;
  cursor: pointer;
  color: #fff;
}


.action-btn:hover  {
  background: linear-gradient(90deg, #f2f4f3 0%, #f2f4f3 100%);
  box-shadow: 0 4px 10px rgba(226,141,71,0.45);
  border: 1px;
  color: #e28d47
}

/*Business plan*/

.plan-select {
  max-width: 260px;
}

.plan-features {
  padding-left: 18px;
  margin-bottom: 0;
  color: #444;
}

.plan-featured {
  border: 2px solid #e28d47;
}

/* PLAN ITEM — Zebra Style */
.plan-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  transition: 0.2s;
}

.plan-item:hover {
  border-color: #e28d47;
  box-shadow: 0 0 8px rgba(255,147,29,0.3);
}

/* LEFT SIDE */
.plan-box {
  display: flex;
  flex-direction: column;
}

.plan-title {
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.plan-code {
  margin: 0;
  color: #777;
  font-size: 13px;
}

/* RIGHT SIDE — Price */
.plan-price {
  text-align: right;
  font-size: 18px;
  font-weight: bold;
  color: #e28d47;
}

.plan-price .interval {
  font-size: 12px;
  color: #777;
}

