/* Centered container for max width */
.centered-container {
  max-width: 800px;
  margin: 0 auto;
  background: none;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #000;
  color: white;
  padding: 10px;
  overflow: hidden;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 15px 20px;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.hospital-name h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 2px;
  color: #000;
}

.hospital-name p {
  font-size: 0.9rem;
  color: #333;
}

.time-date {
  text-align: right;
  font-size: 0.9rem;
}

.day-date {
  color: #666;
}

.clock {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e63946;
}

/* Main Content */
.main-content {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  padding: 0 20px;
}

.call-section {
  flex: 1;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
}

.call-header {
  background: #e63946;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.call-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* Optional: Add spacing between elements */
  margin-bottom: 10px;
}

.number {
  font-size: 6rem;
  font-weight: bold;
  color: #333;
}

.arrow {
  display: inline-block;
  transform: rotate(90deg); /* Rotate the arrow to point downward */
  font-size: 2rem; /* Adjust size as needed */
  color: #e63946;
}

.loket {
  font-size: 2.5rem;
  font-weight: bold;
  color: #e63946;
}

.call-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #666;
}

.loket-label {
  color: #e63946;
}

.image-section {
  flex: 2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Adjust this ratio if needed */
}

.image-section iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hospital-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Queue Row */
.queue-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px 0;
  margin: 0 20px;
}

.queue-box {
  width: 140px;
  height: 100px;
  background: #27ae60;
  color: white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.queue-box:hover {
  transform: scale(1.05);
}

.queue-number {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.queue-label {
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Footer Info */
.footer-info {
  padding: 10px 20px;
  background: #fff;
  color: #333;
  font-size: 0.8rem;
  text-align: center;
  border-radius: 0 0 10px 10px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Ensure iframe occupies full width and height of its container */
.full-width-height {
  width: 100%;
  height: 100%;
}