/* Main container styles */
.traffic-flipper-container {
  padding: 20px;
  background: white;
  border-radius: 8px;
}

.traffic-flipper-heading {
  color: #333;
  margin-bottom: 15px;
}

/* Table styles */
.traffic-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  border: 1px solid #ddd;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

/* Header row styles */
.traffic-header-row {
  background-color: #3498db;
}

.traffic-header-cell {
  padding: 15px 10px;
  border-bottom: 2px solid #2980b9;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Table row styles */
.traffic-row {
  border-bottom: 1px solid #ddd;
  transition: background-color 0.2s;
}

.traffic-row:hover {
  background-color: #f5f5f5;
}

/* Cell styles */
.traffic-cell {
  padding: 15px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.3s;
}

.traffic-server-cell {
  font-weight: bold;
  color: #333;
}

.traffic-slider-cell {
  padding: 15px;
  text-align: center;
  width: 40%;
}

/* Value display */
.percentage-value {
  font-weight: bold;
  color: #333;
}

/* Slider styles */
.traffic-slider {
  width: 80%;
  height: 8px;
  border-radius: 5px;
}

.slider-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-display {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

/* Button container */
.button-container {
  margin-top: 20px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Button styles */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: white;
}

.btn-reset {
  background-color: #3498db;
}

.btn-reset:hover {
  background-color: #2980b9;
}

/* Removed .btn-save styles */

.btn-row-save {
  padding: 8px 15px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.btn-disabled {
  opacity: 0.6;
  cursor: default;
}

/* Status message styles */
.status-message {
   position: fixed;       
  top: 20px;           
  right: 20px;          
  z-index: 9999;         
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
  min-width: 300px;      
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: slideInRight 0.3s ease-out; 
}

.status-success {
  background-color: #dff0d8;
  color: #3c763d;
  border: 1px solid #d6e9c6;
}

.status-error {
  background-color: #f2dede;
  color: #a94442;
  border: 1px solid #ebccd1;
}

.status-info {
  background-color: #d9edf7;
  color: #31708f;
  border: 1px solid #bce8f1;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Cell background color classes */
.bg-zero {
  background-color: rgba(245, 245, 245, 0.9); /* Light gray for zero traffic */
  color: #aaa; /* Light gray text */
}

.bg-light {
  background-color: rgba(235, 248, 235, 0.9); /* Very light green */
  color: #555; /* Darker text for contrast */
}

.bg-medium {
  background-color: rgba(178, 223, 178, 0.9); /* Light green */
}

.bg-high {
  background-color: rgba(88, 175, 88, 0.8); /* Medium green */
}

.bg-very-high {
  background-color: rgba(40, 125, 40, 0.8); /* Dark green */
  color: white; /* White text for better contrast */
}

/* All Other IVRs box styles */
.all-other-ivrs-container {
  margin-top: 30px;
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.all-other-ivrs-container h3 {
  color: #0c2074;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.all-other-ivrs-list {
  margin: 0 0 0 20px;
  padding: 0;
}

.all-other-ivrs-list li {
  padding: 4px 0;
  color: #333;
  font-size: 14px;
}
