    body {
	  margin-top: 0;
	  padding-top: 0;
    }
    .inbox-main {
      padding-top: 16px;
    }
    .navbar-brand {
      font-weight: bold;
    }
    .container {
      max-width: 1200px;
    }

.btn-bronze {
    background-color: #B08D57;
    color: white;
    border: 1px solid #B08D57;
    transition: background-color 0.3s ease;
  }

  .btn-bronze:hover {
    background-color: #9C7746;
    border-color: #9C7746;
  }

  .btn-logout {
    border: 1px solid #1f2937;
    color: #1f2937;
    background-color: transparent;
    transition: background-color 0.3s ease;
  }

  .btn-logout:hover {
    background-color: rgba(31, 41, 55, 0.06);
    text-decoration: none;
  }

  .inbox-powered-by {
    display: block;
    margin-top: 4px;
    color: #6c757d;
    font-size: 0.66rem;
    line-height: 1.2;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    width: 100%;
  }

  .inbox-brand-link {
    text-decoration: none;
    line-height: 0;
  }

  .inbox-brand-link:hover,
  .inbox-brand-link:focus {
    text-decoration: none;
  }

  .inbox-brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 320px;
    max-height: 120px;
    object-fit: contain;
  }

  .inbox-brand-wrap {
    min-width: 280px;
  }

  .inbox-brand-logo--guest {
    max-height: 120px;
  }

    .alert-success {
  background-color: #f9f2e7;
  color: #8c6239;
  border-color: #e5c99c;
}
  .mailbox-selector {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 0;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.2;
    background: transparent !important;
    transition: color 0.2s ease;
  }

  .mailbox-selector:hover {
    color: #8c6239;
    text-decoration: none;
    background: transparent !important;
  }

  .mailbox-selector.is-active {
    color: #8c6239;
  }

  .mailbox-selector-icon {
    margin-top: 2px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .mailbox-selector-text {
    min-width: 0;
  }

  .mailbox-selector-pmb {
    font-size: 1.05rem;
    font-weight: 600;
  }

  .inbox-sidebar-nav-link {
    font-size: 1.05rem !important;
  }

  .inbox-sidebar {
    min-width: 220px;
    max-width: 220px;
    margin-left: 10px;
  }

  .mailbox-dropdown-menu {
    min-width: 240px;
  }

  .mailbox-dropdown-menu .dropdown-item.active,
  .mailbox-dropdown-menu .dropdown-item:active {
    background-color: #6d1f2f;
    color: #ffffff;
  }

  .mailbox-dropdown-menu .dropdown-item.active .mailbox-dropdown-mail-center,
  .mailbox-dropdown-menu .dropdown-item:active .mailbox-dropdown-mail-center,
  .mailbox-dropdown-menu .dropdown-item.active .mailbox-dropdown-pmb,
  .mailbox-dropdown-menu .dropdown-item:active .mailbox-dropdown-pmb {
    color: #ffffff;
  }

  .mailbox-dropdown-mail-center {
    line-height: 1.2;
  }

  .mailbox-dropdown-pmb {
    color: #6c757d;
    line-height: 1.2;
  }

  .mailbox-view-btn.is-active {
    background-color: #B08D57;
    border-color: #B08D57;
    color: #ffffff;
  }

  .mailbox-view-btn:focus {
    box-shadow: none;
  }

  @media (max-width: 767.98px) {
    .inbox-sidebar {
      min-width: 0;
      max-width: none;
      margin-left: 0;
      margin-bottom: 16px;
    }
  }

  .mail-thumbnail {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
  }

  .mail-items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .mail-item-container {
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 4px;
    background-color: #fff;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  
/* mail_items.tpl */

  .mail-thumbnail {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 0 auto;
    object-fit: contain;
  }

  .mail-item-container {
    border: 1px solid #ddd;
    padding: 6px;
    border-radius: 6px;
    background-color: #fff;
    text-align: center;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mail-items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .mail-item-wrapper {
    flex: 0 0 auto;
  }

  .mail-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mail-item-list-row {
    display: block;
  }

  .mail-date-heading {
    color: #1f2937;
  }

  .mail-item-list-entry {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .mail-delete-checkbox {
    flex-shrink: 0;
  }

  .mail-list-actions {
    display: flex;
    align-items: center;
  }

  .mail-thumbnail-list {
    width: 450px;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
  }

  .mail-date-group .mail-items-grid,
  .mail-date-group .mail-items-list {
    margin-left: 18px;
  }

  .mail-date-group .mail-item-container {
    justify-content: flex-start;
  }

  .mail-date-group .mail-thumbnail,
  .mail-date-group .mail-thumbnail-list {
    margin: 0;
  }
  
  .alert-info {
  background-color: #f9f2e7;
  color: #8c6239;
  border-color: #e5c99c;
}
