/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Header Styles */
.header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}

.hospital-logo {
  height: 80px;
}

/* Card Styles */
.card {
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-queue {
  border-radius: 15px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.1);
  border: none;
}
.current-queue {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}
.next-queue {
  background: linear-gradient(135deg,rgb(149, 216, 163) 0%,rgb(56, 192, 86) 100%);
  color: white;
}

/* Queue Number Styles */
.queue-number {
  font-size: 5rem;
  font-weight: bold;
  margin: 20px 0;
  color: #ffffff;
}

/* Button Styles */
.btn-lg {
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
  border-radius: 50px;
  font-weight: 600;
}

.btn-light {
  background-color: #fff;
  border: 2px solid #dee2e6;
}

.btn-light:hover {
  background-color: #f8f9fa;
  border-color: #ced4da;
}

/* Table Styles */
.table {
  border-radius: 10px;
  overflow: hidden;
}

.table th {
  background-color: #f8f9fa;
  font-weight: 600;
  padding: 15px;
}

.table td {
  padding: 12px 15px;
  vertical-align: middle;
}

.badge-status {
  padding: 8px 12px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Action Buttons (Fullscreen & Logout) - VERTICAL LAYOUT */
.action-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 12px 8px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

/* Button Styles - UNCHANGED */
.action-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
}

.action-btn::after {
  content: attr(title);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
  pointer-events: none;
}

.action-btn:hover::after {
  opacity: 1;
}

.fullscreen-btn {
  background-color: #ffffff;
  color: #0d6efd;
  border: 2px solid #0d6efd;
}

.fullscreen-btn:hover {
  background-color: #0d6efd;
  color: white;
}

.logout-btn {
  background-color: #dc3545;
  color: white;
  border: 2px solid #dc3545;
}

.logout-btn:hover {
  background-color: #bb2d3b;
  border-color: #bb2d3b;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .action-buttons {
      bottom: 15px;
      right: 15px;
      padding: 10px 6px;
      gap: 10px;
  }
  
  .action-btn {
      width: 42px;
      height: 42px;
      font-size: 1rem;
  }
}

/* Animation Effects - UNCHANGED */
@keyframes buttonPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.action-btn:hover {
  animation: buttonPop 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nomor-antrian {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 5px;
  border-left: 5px solid #a91529;
}

.date-controls {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
        .date-picker {
            max-width: 250px;
            margin: 0 auto 20px;
        }
        .btn-call-again {
            background-color: #ffc107;
            border-color: #ffc107;
            color: #212529;
        }
        .btn-call-again:hover {
            background-color: #e0a800;
            border-color: #e0a800;
        }
        
        /* Sidebar Styles */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            width: 80px;
            background-color: #343a40;
            padding-top: 20px;
            z-index: 1000;
            transition: all 0.3s;
            overflow: hidden;
        }
        
        .sidebar:hover {
            width: 250px;
        }
        
        .sidebar-nav {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .sidebar-item {
            position: relative;
        }
        
        .sidebar-link {
            display: flex;
            align-items: center;
            color: #fff;
            text-decoration: none;
            padding: 12px 15px;
            transition: all 0.3s;
            white-space: nowrap;
        }
        
        .sidebar-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: #fff;
        }
        
        .sidebar-icon {
            font-size: 1.5rem;
            min-width: 50px;
            text-align: center;
        }
        
        .sidebar-text {
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .sidebar:hover .sidebar-text {
            opacity: 1;
        }
        
        .main-content {
            margin-left: 80px;
            transition: all 0.3s;
        }
        
        .sidebar:hover ~ .main-content {
            margin-left: 250px;
        }
        
        /* Active button style */
        .sidebar-item.active .sidebar-link {
            background-color: rgba(255, 255, 255, 0.2);
        }