body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
}

.card {
  border-radius: 16px !important;
}

.navbar small {
  font-size: 0.7rem;
}

/* Green Theme */
:root {
  --trio-green: #16a34a;
  --trio-lightgreen: #dcfce7;
}

.btn-success {
  background-color: var(--trio-green) !important;
  border-color: var(--trio-green) !important;
  color: #fff !important;
}

.btn-success:hover {
  background-color: #15803d !important;
  color: #fff !important;
}

.btn-outline-success {
  color: var(--trio-green) !important;
  border-color: var(--trio-green) !important;
}

.btn-outline-success:hover {
  background-color: var(--trio-green) !important;
  color: #fff !important;
}

/* Footer Menu */
.navbar.fixed-bottom a {
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.navbar.fixed-bottom a.active-menu i,
.navbar.fixed-bottom a.active-menu small {
  color: var(--trio-green) !important;
  font-weight: 600;
}

/* Login logo */
.login-box img {
  object-fit: contain;
}

/* Card titles and numbers */
.card-body h5 {
  font-weight: 600;
  color: var(--trio-green);
}

/* ===== Action Buttons Section ===== */
.action-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;        /* ✅ Center buttons horizontally */
  gap: 16px;                      /* Space between buttons */
  transition: max-height 0.3s ease;
 overflow: hidden;
  max-height: 210px;              /* Show ~2 rows initially */
}

.action-grid.expanded {
  max-height: 660px;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 22%;                     /* Adjust width to fit centered rows */
  text-align: center;
}

.action-btn {
  width: 65px;                    /* Button circle size */
  height: 65px;
  border-radius: 50%;
  background-color: #e6f4ea;
  border: none;
  color: #16a34a;
  font-size: 1.5rem;              /* Larger icon */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

.action-btn:hover {
  background-color: #16a34a;
  color: #fff;
  transform: scale(1.05);
}

.label {
  font-size: 0.75rem;
  margin-top: 4px;
  color: #222;
  white-space: nowrap;
}

.more-item {
  display: none;
}

.action-grid.expanded .more-item {
  display: flex;
}

@media (max-width: 600px) {
  .action-item {
    width: 28%;  /* Slightly fewer per row for small screens */
  }
  .action-btn {
    width: 75px;
    height: 75px;
    font-size: 1.3rem;
  }
}

/* Recent Sale List */
.list-group-item {
  border: none;
  border-bottom: 1px solid #f0f0f0;
  padding: 12px 14px;
}

.list-group-item:last-child {
  border-bottom: none;
}
body {
    padding-bottom: 100px; /* prevent content from going behind bottom nav */
}


.summary-card-green {
  background: #556B2F;         /* Same green shade as your uploaded image */
  color: #fff;
  border-radius: 18px;
  padding: 15px;
  height: 140px;
  position: relative;
}

.summary-card-green .title {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

.summary-card-green .amount {
  font-size: 26px;
  font-weight: 700;
  margin-top: 8px;
}

.summary-card-green .card-icon {
  font-size: 28px;
  opacity: 0.9;
}

.summary-card-green .note {
  background: rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  font-size: 11px;
  display: inline-block;
  border-radius: 8px;
  margin-top: 4px;
}

@media (max-width: 480px) {
    .om-main {
        padding: 8px;
    }
}

/* ===== Side Panel ===== */
.side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 1040;
}

.side-panel {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 10px rgba(0,0,0,0.15);
  z-index: 1050;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.side-panel.open {
  right: 0;
}

.side-overlay.show {
  display: block;
}

.side-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.side-menu {
  padding: 10px;
}

.side-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
}

.side-menu a:hover {
  background: #f1f5f9;
}
/* ===== User Header ===== */
.user-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.user-icon {
  font-size: 40px;
  color: #16a34a;
}

.user-info {
  line-height: 1.2;
}

.user-name {
  font-weight: 600;
  font-size: 15px;
}

.user-role {
  font-size: 12px;
  color: #6b7280;
}

.close-btn {
  border-radius: 50%;
}
