/* Styles for the overlay/backdrop */
.error-message { /* This class would be for the full-screen overlay */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Darker overlay as seen in the image */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000; /* Ensure it's above other content */
}

/* Styles for the connection issue popup box */
.connection-error-box {
  background-color: #ffffff; /* White background as in the image */
  border-radius: 8px; /* Slightly rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Softer shadow */
  padding: 50px 30px; /* Adjust padding as needed */
  text-align: center;
  max-width: 500px; /* Max width to match the image's proportions */
  width: 90%;
  position: relative; /* For positioning the close button */
}

.icon-container {
  margin-bottom: 10px; /* Space between icon and title */
  display: inline-block; /* To center the SVG */
}

.icon-container svg {
  color: #FF7E00; /* Orange color for the icon */
}

.connection-issue-title {
  font-size: 20px; /* Larger title font size */
  color: #003D4C; /* Darker grey for the title */
  margin-top: 0;
  margin-bottom: 15px;
  letter-spacing: -0.3px,
  font-weight: 500; /* Bolder title */
}

.connection-issue-message {
  font-size: 15px; /* Adjust message font size */
  color: #555555; /* Slightly lighter grey for the message */
  line-height: 1.25; /* Better readability */
  margin-bottom: 25px; /* Space before the button */
}

.try-again-button {
  background-color: #003D4C; /* Example blue, adjust to match image if different */
  color: white;
  border: none;
  padding: 12px 30px; /* Larger padding for button */
  font-size: 16px; /* Larger font size for button text */
  border-radius: 8px; /* Slightly rounded button corners */
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
}

.try-again-button:hover {
  opacity: 90%;
}