/* =========================================================
   PROFILE PAGE SPECIFIC STYLES
   Profile-specific layout, table, and logo upload styles
========================================================= */

/* ===== Profile Hero Layout ===== */
.hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:8px 0 18px;
  flex-wrap:wrap;
}

.hero-title{
  margin:0;
  font-size:26px;
  letter-spacing:.2px;
}

.hero-sub{
  margin:6px 0 0;
  color: var(--muted);
  font-size:14px;
}

/* ===== Profile Table Styles ===== */
.table-wrap{
  border:1px solid rgba(255,170,60,.14);
  border-radius:14px;
  overflow:hidden;
}

.table{
  width:100%;
  border-collapse: collapse;
  font-size:14px;
}

.table th,
.table td{
  padding:10px 12px;
  border-bottom:1px solid rgba(255,170,60,.10);
  vertical-align:top;
}

.table th{
  text-align:left;
  font-size:12px;
  letter-spacing:.35px;
  text-transform:uppercase;
  color: rgba(245,230,207,.82);
  background: rgba(0,0,0,.18);
}

.table tr:last-child td{ border-bottom:none; }

.logo-pill{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-pill img{
  width:56px;
  height:56px;
  border-radius:14px;
  object-fit:cover;
  border:1px solid rgba(255,170,60,.25);
  background: rgba(0,0,0,.22);
}

/* =========================
   LOGO UPLOAD STYLES
========================= */

.logo-upload-form {
  margin-top: 12px;
}

.logo-upload-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.logo-choose-btn {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;

  background: rgba(0,0,0,.35);
  color: var(--text);

  border: 1px solid rgba(255,170,60,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.logo-choose-btn:hover {
  background: rgba(0,0,0,.55);
  border-color: rgba(255,170,60,.45);
}

.logo-filename {
  font-size: 13px;
  color: var(--muted);
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.logo-upload-btn {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;

  background: linear-gradient(
    180deg,
    rgba(255,168,68,1),
    rgba(255,120,20,1)
  );

  color: #1b0b00;
  border: 1px solid rgba(255,170,60,.55);
  box-shadow: 0 14px 30px rgba(255,120,20,.25);

  width: auto;
  display: inline-block;
}

.logo-upload-btn:hover {
  filter: brightness(1.05);
}

/* =========================
   CLIENT LOGO DISPLAY (HERO)
========================= */

#clientLogoWrap {
  margin: 20px 0 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

#clientLogoImg {
  max-height: 140px;
  max-width: 420px;

  width: auto;
  height: auto;
  object-fit: contain;

  background: linear-gradient(
    180deg,
    rgba(0,0,0,.45),
    rgba(0,0,0,.25)
  );

  padding: 18px 24px;
  border-radius: 18px;

  border: 1px solid rgba(255,170,60,.35);
  box-shadow:
    0 18px 40px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.05);
}

@media (max-width: 600px) {
  #clientLogoImg {
    max-height: 96px;
    max-width: 90%;
    padding: 14px 18px;
  }
}

.logo-replace-btn {
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;

  background: rgba(0,0,0,.35);
  color: var(--text);

  border: 1px solid rgba(255,170,60,.25);
}

.logo-replace-btn:hover {
  background: rgba(0,0,0,.55);
  border-color: rgba(255,170,60,.45);
}

/* ===== Card Head Styles ===== */
.card-head {
  margin-bottom: 12px;
}

.card-title {
  margin: 0;
  font-size: 16px;
}

.card-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ===== Todo Card Styles ===== */
.todo-card {
  margin-top: 0;
}

.todo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.todo-header h3 {
  margin: 0;
  font-size: 16px;
}

.todo-badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 170, 60, 0.15);
  color: rgba(255, 170, 60, 0.9);
  border: 1px solid rgba(255, 170, 60, 0.25);
}

.todo-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.todo-status {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* ===== Row Layout ===== */
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Nav Primary Button ===== */
.nav-primary {
  border-color: rgba(255,170,60,.40) !important;
  background: linear-gradient(180deg, rgba(255,138,31,.22), rgba(0,0,0,.18)) !important;
}
