.f-8 {
  font-size: 8px !important;
}

.f-10 {
  font-size: 10px !important;
}

.f-12 {
  font-size: 12px !important;
}

.f-14 {
  font-size: 14px !important;
}

.f-16 {
  font-size: 16px !important;
}

.f-18 {
  font-size: 18px !important;
}

.f-20 {
  font-size: 20px !important;
}

.f-22 {
  font-size: 22px !important;
}

.dashed-line {
  border: 0; /* เอาเส้นขอบออก */
  border-top: 1px dashed #000; /* เส้นประสีดำ */
  height: 1px; /* ความสูงของเส้น */
  margin: 20px 0; /* ระยะห่างบนและล่าง */
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 8px;
  background-color: #000000c4;
  color: aquamarine;
  padding: 10px;
}

.footer {
  font-size: 12px;
}

.log-container {
  border-radius: 0 0 0.375rem 0.375rem;
}

.log-entry:last-child {
  border-bottom: none !important;
}

.log-entry:hover {
  background-color: rgba(0, 123, 255, 0.02) !important;
}

.log-message {
  word-break: break-all;
  white-space: pre-wrap;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.log-message.bg-success {
  background: linear-gradient(135deg, #198754, #157347) !important;
  border-color: #198754;
}

.log-message.bg-danger {
  background: linear-gradient(135deg, #dc3545, #bb2d3b) !important;
  border-color: #dc3545;
}

.log-message.bg-dark {
  background: linear-gradient(135deg, #343a40, #212529) !important;
}

.success-indicator,
.error-indicator {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

.log-timestamp .badge {
  font-size: 0.75em;
  font-weight: 500;
}

/* Scrollbar styling */
.log-container::-webkit-scrollbar {
  width: 6px;
}

.log-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.log-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.log-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .log-entry .d-flex {
    flex-direction: column;
    gap: 1rem !important;
  }

  .log-timestamp {
    align-self: flex-start;
  }

  .log-message {
    font-size: 0.8em !important;
  }
}


.qr-ticket-row {
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}


.qr-ticket-avatar {
    transition: all 0.3s ease;
}

.qr-ticket-badge {
    font-size: 10px;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

.qr-ticket-code {
    font-size: 10px !important;
    letter-spacing: 0.5px;
}

.qr-ticket-zone {
    font-size: 0.75rem;
    font-weight: 500;
}

.qr-ticket-count {
    font-size: 0.75rem;
    font-weight: 500;
}

.qr-ticket-title {
    font-size: 1rem;
}

.qr-ticket-subtitle {
    font-size: 0.85rem;
}

.qr-ticket-name {
    font-size: 12px;
}

.qr-ticket-empty-icon {
    font-size: 3rem !important;
    opacity: 0.3;
}

.qr-ticket-empty-title {
    font-size: 1rem;
}

.qr-ticket-empty-text {
    font-size: 0.6rem;
}

.qr-ticket-summary-count {
    font-size: 1.2rem;
    font-weight: 600;
}

.qr-ticket-summary-label {
    font-size: 0.8rem;
}

/* Status-specific styles */
.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.bg-info-subtle {
    background-color: rgba(13, 202, 240, 0.1) !important;
}

.border-success-subtle {
    border-color: rgba(25, 135, 84, 0.3) !important;
}

.border-warning-subtle {
    border-color: rgba(255, 193, 7, 0.3) !important;
}

.border-danger-subtle {
    border-color: rgba(220, 53, 69, 0.3) !important;
}

.border-info-subtle {
    border-color: rgba(13, 202, 240, 0.3) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .qr-ticket-summary-item {
        margin-bottom: 1rem;
    }
    
    .qr-ticket-summary-divider {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 0.5rem;
    }
    
    .qr-ticket-summary-item:last-child .qr-ticket-summary-divider {
        border-bottom: none !important;
    }
    
    .qr-ticket-row:hover {
        transform: none;
    }
    
    .qr-ticket-header-content {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .qr-ticket-info {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    
    .qr-ticket-cell {
        padding: 1rem 0.5rem !important;
    }
    
    .qr-ticket-th {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.7rem !important;
    }
}