/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* Audio Recordings Styles */
.recording-card {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Only apply hover effect when no modal is open */
body:not(.modal-open) .recording-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 16px 20px;
}

.session-id {
  font-size: 0.9rem;
  color: #6c757d;
  font-family: monospace;
}

.badge-option {
  background-color: #6c757d;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-left: 10px;
}

.card-body {
  padding: 20px;
}

.text-section {
  margin-bottom: 15px;
  border-left: 3px solid #dee2e6;
  padding-left: 15px;
}

.section-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.text-content {
  color: #212529;
  line-height: 1.5;
}

.audio-player {
  margin: 15px 0;
  width: 100%;
}

.action-section {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.comment-section, .rating-section {
  flex: 1;
  padding: 0 10px;
}

.btn-action {
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 0.9rem;
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  font-size: 1.5rem;
  justify-content: flex-end;
  padding: 0 0.2em;
  text-align: center;
}

.star-rating input {
  display: none;
}

.star-rating label {
  color: #ccc;
  cursor: pointer;
  padding: 0 0.1em;
  transition: color 0.3s;
}

.star-rating input:checked~label {
  color: #f90;
}

.star-rating label:hover,
.star-rating label:hover~label {
  color: #fc0;
}

.star-display {
  font-size: 1.2rem;
  color: #ffc107;
}

.comment-text {
  font-style: italic;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  margin-top: 5px;
}

.page-header {
  margin-bottom: 30px;
}

.header-title {
  font-weight: 600;
  margin-bottom: 15px;
}

.header-actions {
  margin-bottom: 20px;
}

.btn-main {
  border-radius: 20px;
  padding: 8px 20px;
  font-weight: 500;
  margin-right: 10px;
}

/* Modal customizations */
.modal-content {
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.modal-title {
  font-weight: 600;
}

.modal-footer {
  border-top: 1px solid #e9ecef;
}

/* Fix for modal blinking issue */
.modal {
  z-index: 1050;
}

.modal-backdrop {
  z-index: 1040;
}

.modal-open .recording-card {
  transform: none !important;
  transition: none !important;
}
