/* Custom styles for report show page */

/* Enhanced Hero Section with Gradient Background */
.report-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 2rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.report-hero:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.report-hero h1 {
  font-size: 2.2rem;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
  color: #fff;
}

.report-hero .badge {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.report-hero .badge:hover {
  /* transform: translateY(-1px); */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Enhanced Report Detail Cards */
.report-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.report-card:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.report-card .card-body {
  padding: 1.5rem;
}

.report-card .card-header {
  background-color: #fff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.5rem;
}

.report-card .card-header h5 {
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.report-card .rounded-circle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.report-card:hover .rounded-circle {
  transform: scale(1.1);
}

.report-card .bi {
  font-size: 1.25rem;
}

/* Report Metrics Cards */
.report-metric-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.report-metric-card:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.report-metric-card .card-body {
  padding: 1.5rem;
}

.report-metric-card .rounded-circle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.report-metric-card:hover .rounded-circle {
  transform: scale(1.1);
}

.report-metric-card .bi {
  font-size: 1.25rem;
}

.report-metric-card .card-text {
  margin-top: 0.5rem;
  font-weight: 700;
  color: #1e293b;
}

/* Report Files List */
.report-files-list {
  border-radius: 6px;
  overflow: hidden;
}

.report-files-list .list-group-item {
  border-left: none;
  border-right: none;
  padding: 1rem 1.25rem;
  transition: all 0.2s ease;
}

.report-files-list .list-group-item:hover {
  background-color: #f8fafc;
  transform: translateX(5px);
}

.report-files-list .list-group-item:first-child {
  border-top: none;
}

/* Executive Summary Section */
.executive-summary {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

/* Actions Section */
.action-card {
  /* border: none !important; */
  border-radius: 8px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
  margin-bottom: 1.5rem !important;
}

.action-card:hover {
  /* transform: translateY(-3px) !important; */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1) !important;
}

.action-card .card-header {
  padding: 1.25rem 1.5rem !important;
}

.action-card .card-body {
  padding: 1.5rem !important;
}

.chat-container {
  max-height: 400px;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chat-bubble {
  transition: all 0.3s ease;
}

.chat-bubble:hover {
  transform: translateX(5px);
}

.chat-avatar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chat-message {
  transition: all 0.3s ease;
}

.chat-message:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Animation for page load */
@keyframes fadeIn {
  /* from { opacity: 0; transform: translateY(10px); } */
  /* to { opacity: 1; transform: translateY(0); } */
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* Custom background colors for status */
.bg-light-success {
  background-color: rgba(16, 185, 129, 0.1);
}

.bg-light-danger {
  background-color: rgba(239, 68, 68, 0.1);
}

.bg-light-warning {
  background-color: rgba(245, 158, 11, 0.1);
}

.bg-light-success {
  background-color: rgba(198, 246, 213, 0.3);
}

.bg-light-danger {
  background-color: rgba(198, 246, 213, 0.3);
}

.bg-light-light {
  background-color: var(--bs-light);
}

.border-success {
  border-color: var(--bs-success) !important;
}

.border-danger {
  border-color: var(--bs-danger) !important;
}

.border-light {
  border-color: var(--bs-secondary) !important;
}