body {
  padding-top: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero-section {
  margin-top: 56px;
  background: linear-gradient(135deg, rgba(10, 18, 32, 0.95), rgba(13, 110, 253, 0.82)), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.min-vh-75 {
  min-height: 75vh;
}

.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12) !important;
}

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e7f1ff;
  font-size: 1.6rem;
}

.card {
  border-radius: 1rem;
}

.btn {
  border-radius: 0.75rem;
}

@media (max-width: 991px) {
  .hero-section {
    margin-top: 0;
  }
}

.brand-logo {
  width: auto;
  height: 80px;
  object-fit: contain;
}

.ticket-clickable {
  cursor: pointer;
}

.ticket-clickable:hover {
  --bs-table-bg: #fff3cd;
}

.brand-logo {
  width: auto;
  height: 80px;
  object-fit: contain;
}

.upload-panel {
  background: #f8fbff;
  border: 1px solid #dbeafe;
}

.upload-dropzone {
  display: block;
  border: 2px dashed #9ec5fe;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.upload-dropzone:hover {
  border-color: #0d6efd;
  background: #f1f7ff;
  transform: translateY(-2px);
}

.upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: #e7f1ff;
  color: #0d6efd;
  font-size: 1.5rem;
}



.mail-client {
  border: 1px solid #d9dee7;
  background: #ffffff;
  min-height: 420px;
}

.mail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 36%) 1fr;
  min-height: 420px;
}

.mail-list {
  background: #f8fafc;
  border-right: 1px solid #d9dee7;
  overflow: hidden;
}

.mail-list-title {
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid #d9dee7;
  background: #eef2f7;
}

.mail-list-item {
  width: 100%;
  display: block;
  padding: 0.9rem 1rem;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.mail-list-item:hover,
.mail-list-item.active {
  background: #ffffff;
}

.mail-list-item.active {
  border-left: 4px solid #0d6efd;
  padding-left: calc(1rem - 4px);
}

.mail-list-topline {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.25rem;
}

.mail-sender,
.mail-subject,
.mail-preview {
  display: block;
}

.mail-sender {
  color: #0f172a;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail-date {
  color: #64748b;
  font-size: 0.78rem;
  white-space: nowrap;
}

.mail-subject {
  color: #1e293b;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail-preview {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail-reading-pane {
  background: #ffffff;
  min-width: 0;
}

.mail-detail-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.mail-meta {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
}

.mail-meta span {
  display: inline-block;
  width: 42px;
  color: #64748b;
  font-weight: 700;
}

.mail-detail-body {
  padding: 1.5rem;
  color: #0f172a;
  line-height: 1.65;
  white-space: pre-line;
}

@media (max-width: 991px) {
  .mail-layout {
    grid-template-columns: 1fr;
  }

  .mail-list {
    border-right: 0;
    border-bottom: 1px solid #d9dee7;
  }
}
