@charset "utf-8";
/* CSS Document */

.fotoimg {
	background-color: #fff; 
	border-radius: 20px;
	padding: 10px;
}
.message-container {
  width: 80%;
  margin: 40px auto;
  color: #333;
  padding: 40px;
	text-align: left;
	background-color: #fff;
	border-radius: 20px; 
}

.message-container h2 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.chat-entry {
  display: flex;
  margin-bottom: 20px;
}

.chat-entry.user {
  justify-content: flex-end;
}

.chat-entry.assistant {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 16px;
  line-height: 1.5;
  font-size: 12px;
  position: relative;
}

.chat-entry.user .chat-bubble {
  background: linear-gradient(145deg, #007aff, #005fcb);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 122, 255, 0.3);
}

.chat-entry.assistant .chat-bubble {
  background-color: #f1f1f1;
  color: #333;
  border-bottom-left-radius: 4px;
}

.buttonchat {
  background-color: #1C4191;
  color: white;
  padding: 8px 12px;
  padding-right: 28px; /* extra space for the arrow */
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  position: relative; /* needed for positioning the arrow */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.buttonchat::after {
  content: '➔'; /* right arrow character */
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  transition: transform 0.3s ease;
}

.buttonchat:hover {
  background-color: #1354E1;
}

.buttonchat:hover::after {
  transform: translateY(-50%) translateX(4px); /* move arrow slightly to the right on hover */
}


.expired-message {
  background-color: #f9d6d5;
  color: #a33;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
}

.actions,
.reply-section {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}


section.table-section {
  margin-top: 2rem;
  padding: 0.5rem;
  
  border-radius: 8px;
  overflow-x: auto;

  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns on desktop */
  gap: 10px; /* Space between columns */
}


section.table-section h2 {
  margin-bottom: 1rem;
}

section.table-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

section.table-section th,
section.table-section td{  
	padding: 0px 5px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  font-size: 13px;
}

section.table-section th{
  background-color: #f5f5f5;
}


@media (max-width: 768px) {
  section.table-section {
    grid-template-columns: 1fr; /* Stack to one column on smaller screens */
  }
}


@media (max-width: 768px) {
  .chat-bubble {
    max-width: 100%;
    font-size: 12px;
  }

  .chat-entry img {
    max-width: 100%;
    height: auto;
  }
		
section.table-section th,
section.table-section td {
  font-size: 10px;
}
	
}
