/* ==========================================================================
   dashboard.css — वरची पट्टी (प्रोफाइल / सूचना / मेनू) आणि त्यांचे popup
   ========================================================================== */

.dtop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 12px;
  margin-bottom: 12px;
}

.dr {
  display: flex;
  gap: 14px;
}

/* गोल 3D बटण */
.ib {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ffe9a8;
  background: linear-gradient(180deg, #fff8e1, #ffd98a 55%, #ffb347);
  color: #7c2d12;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-family: var(--font-ui);
  font-weight: 700;
  padding: 0;
  box-shadow: 0 4px 8px rgba(80, 40, 0, .22);
  transition: transform .15s, box-shadow .15s;
}

.ib:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(80, 40, 0, .28);
}

.ib:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(80, 40, 0, .25);
}

.ib svg {
  width: 22px;
  height: 22px;
}

.ib.prof {
  background: linear-gradient(180deg, #ff9a3c, #c2410c);
  color: #fff;
  border-color: #ffe08a;
  font-weight: 800;
  font-size: 1.3rem;
  overflow: hidden;
}

.ib.prof img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.dot {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #d00;
  color: #fff;
  border-radius: 10px;
  font-size: .7rem;
  font-style: normal;
  padding: 0 5px;
  min-width: 18px;
  line-height: 18px;
  text-align: center;
}

/* ---------- popup ---------- */
.pop {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  min-width: 250px;
  max-width: min(320px, calc(100vw - 24px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-pop);
  padding: 12px;
  z-index: 30;
}

.pop.r {
  left: auto;
  right: 0;
}

.pop.show {
  display: block;
}

.pop a,
.pop .linkbtn {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
}

.pop a:hover,
.pop .linkbtn:hover {
  background: var(--line);
}

.pop p {
  margin: 5px 0;
  font-size: .9rem;
}

.pop h4 {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 1rem;
}

.pop hr {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 8px 0;
}

.pop .pop-note {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

/* ---------- डॅशबोर्ड विभाग-शीर्षक ---------- */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 26px 0 4px;
}

.sec-head h2,
.sec-head h3 {
  margin: 0;
}

/* ---------- गाळणी ---------- */
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 10px 0 4px;
}

/* ---------- बॅकअप पट्टी ---------- */
.backup-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-size: .82rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  margin-top: 28px;
  padding-top: 14px;
}

.backup-bar .b2 {
  padding: 5px 14px;
  font-size: .82rem;
}
