/* Dashboard Styles for DemoCaaS1 */

/* Dashboard Layout */
.dashboard-body {
  background-color: #f5f7fa;
}

.dashboard-main {
  display: flex;
  min-height: calc(100vh - 60px - 80px); /* Subtract header and footer heights */
}

.dashboard-main.no-sidebar {
  display: block;
  padding: 20px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0;
  background-color: transparent;
}

.dashboard-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.dashboard-content.full-width {
  margin-left: 0;
  width: 100%;
  max-width: 100%;
}

/* Boxed Layout */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.header, .footer {
  background-color: #0674bb;
  color: #fff;
}

.header-container, .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/* User Profile */
.user-profile {
  padding: 0 20px 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  text-align: center;
}

.user-avatar {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.user-profile h3 {
  margin: 0 0 5px;
  font-size: 1.2rem;
}

.user-type {
  color: #888;
  font-size: 0.9rem;
  margin: 0;
}

/* Header Navigation with Icons */
.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul li {
  margin: 0 15px;
}

.nav ul li:first-child {
  margin-left: 0;
}

.nav ul li:last-child {
  margin-right: 0;
}

.nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav ul li a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav ul li.active a,
.nav ul li a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav ul li.active a:after,
.nav ul li a:hover:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

@media (max-width: 992px) {
  .nav ul li {
    margin: 0 8px;
  }
  
  .nav ul li a {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 15px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav {
    position: relative;
  }
  
  .nav ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    width: 200px;
    padding: 5px 0;
    border-radius: 4px;
    margin-top: 10px;
  }
  
  .nav ul.show {
    display: block;
  }
  
  .nav ul li {
    margin: 0;
    width: 100%;
  }
  
  .nav ul li a {
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid #eaedf2;
  }
  
  .nav ul li:last-child a {
    border-bottom: none;
  }
  
  .nav ul li.active a:after,
  .nav ul li a:hover:after {
    display: none;
  }
  
  .nav ul li.active a {
    background-color: #f5f7fa;
    color: #4a6fa5;
    font-weight: 600;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #4a6fa5;
  padding: 5px;
  z-index: 1000;
}

/* Dashboard Sections */
.dashboard-section {
  display: none;
  margin-bottom: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 20px;
}

.dashboard-section.active {
  display: block;
}

.dashboard-section.full-page {
  margin-bottom: 0;
  padding-bottom: 40px;
}

.section-header {
  margin-bottom: 20px;
}

.section-header h2 {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.section-header h2 i {
  margin-right: 10px;
}

.section-header p {
  color: #666;
  margin: 0;
}

/* Stats Cards */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  align-items: center;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(74, 111, 165, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-right: 15px;
}

.stat-icon.alert {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--error-color);
}

.stat-icon.positive {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.stat-content h3 {
  margin: 0 0 5px;
  font-size: 1.5rem;
}

.stat-content p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Dashboard Widgets */
.dashboard-widgets {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.widget {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.widget-large {
  grid-column: span 8;
}

.widget-medium {
  grid-column: span 4;
}

.widget-small {
  grid-column: span 3;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.widget-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.widget-actions {
  display: flex;
  gap: 5px;
}

.btn-icon {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--primary-color);
}

.widget-content {
  padding: 20px;
}

/* Activity List */
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.activity-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(74, 111, 165, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.activity-icon.alert {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--error-color);
}

.activity-content {
  flex: 1;
}

.activity-text {
  margin: 0 0 3px;
  font-size: 0.95rem;
}

.activity-time {
  margin: 0;
  font-size: 0.8rem;
  color: #888;
}

.activity-action {
  margin-left: 10px;
}

.btn-sm {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-sm:hover {
  background-color: var(--secondary-color);
}

.btn-sm.btn-alert {
  background-color: var(--error-color);
}

.btn-sm.btn-alert:hover {
  background-color: #c82333;
}

/* Chart Container */
.chart-container {
  height: 200px;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.chart-placeholder {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 10px;
}

.chart-bar {
  width: 30px;
  background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
}

.chart-labels {
  display: flex;
  justify-content: space-around;
  padding: 10px 0 0;
}

.chart-labels span {
  font-size: 0.8rem;
  color: #888;
}

/* Revenue Summary */
.revenue-summary {
  display: flex;
  justify-content: space-between;
}

.summary-item {
  text-align: center;
}

.summary-label {
  margin: 0 0 5px;
  font-size: 0.9rem;
  color: #666;
}

.summary-value {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-color);
}

.summary-item.positive .summary-value {
  color: var(--success-color);
}

/* Platform Distribution */
.platform-distribution {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.platform-item {
  display: flex;
  align-items: center;
}

.platform-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(74, 111, 165, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.platform-bar-container {
  flex: 1;
}

.platform-name {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.platform-bar-wrapper {
  height: 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
  position: relative;
}

.platform-bar {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
}

.platform-value {
  position: absolute;
  right: 0;
  top: -20px;
  font-size: 0.8rem;
  color: #666;
}

/* Placeholder Message */
.placeholder-message {
  text-align: center;
  padding: 40px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  color: #888;
}

/* Copyright Monitoring Section Styles */
.monitoring-controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.monitoring-filters {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-size: 0.8rem;
  margin-bottom: 5px;
  color: #666;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: white;
  min-width: 150px;
}

.monitoring-actions {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(74, 111, 165, 0.1);
}

/* Monitoring Stats */
.monitoring-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.monitoring-stat {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: center;
  border-top: 4px solid var(--primary-color);
}

.monitoring-stat.alert {
  border-top-color: var(--error-color);
}

.monitoring-stat.warning {
  border-top-color: #ffc107;
}

.stat-value {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--text-color);
}

.monitoring-stat.alert .stat-value {
  color: var(--error-color);
}

.monitoring-stat.warning .stat-value {
  color: #ffc107;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

/* Map Container */
.monitoring-map-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 30px;
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.map-header h3 {
  margin: 0;
  color: var(--primary-color);
}

.map-legend {
  display: flex;
  gap: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.legend-label {
  font-size: 0.8rem;
  color: #666;
}

.world-map {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f5f7fa;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
}

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

.map-region {
  position: absolute;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.map-region[data-status="authorized"] {
  background-color: rgba(74, 111, 165, 0.7);
}

.map-region[data-status="unauthorized"] {
  background-color: rgba(220, 53, 69, 0.7);
}

.map-region[data-status="review"] {
  background-color: rgba(255, 193, 7, 0.7);
}

.map-region:hover {
  transform: scale(1.2);
}

/* Monitoring Table */
.monitoring-table-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.monitoring-table-container h3 {
  margin: 0 0 15px;
  color: var(--primary-color);
}

.monitoring-table {
  width: 100%;
  border-collapse: collapse;
}

.monitoring-table th {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 2px solid #eee;
  color: #666;
  font-weight: 500;
  font-size: 0.9rem;
}

.monitoring-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.monitoring-table tr:last-child td {
  border-bottom: none;
}

.work-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.work-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(74, 111, 165, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-title {
  font-weight: 500;
}

.work-type {
  font-size: 0.8rem;
  color: #666;
}

.truncate-text {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

.truncate-text:hover {
  text-decoration: underline;
}

.match-percentage {
  font-weight: 500;
  border-radius: 4px;
  padding: 3px 6px;
  display: inline-block;
  text-align: center;
  min-width: 50px;
}

.match-percentage.high {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.match-percentage.medium {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.match-percentage.low {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.status-badge {
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
}

.status-badge.authorized {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.status-badge.unauthorized {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--error-color);
}

.status-badge.review {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.action-buttons {
  display: flex;
  gap: 5px;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  gap: 15px;
}

.pagination-btn {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not([disabled]) {
  background-color: rgba(74, 111, 165, 0.1);
  color: var(--primary-color);
}

.pagination-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  font-size: 0.9rem;
  color: #666;
}

/* Monitoring Snapshot */
.monitoring-snapshot {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  overflow: hidden;
}

.snapshot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eaedf2;
}

.snapshot-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #2c3e50;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 0.85rem;
}

.snapshot-content {
  padding: 0;
}

.snapshot-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eaedf2;
  transition: background-color 0.2s ease;
}

.snapshot-item:last-child {
  border-bottom: none;
}

.snapshot-item:hover {
  background-color: #f8f9fa;
}

.snapshot-item.alert {
  border-left: 4px solid #dc3545;
}

.snapshot-item.warning {
  border-left: 4px solid #ffc107;
}

.snapshot-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.2rem;
  color: #4a6fa5;
}

.snapshot-item.alert .snapshot-icon {
  color: #dc3545;
}

.snapshot-item.warning .snapshot-icon {
  color: #ffc107;
}

.snapshot-details {
  flex: 1;
}

.snapshot-title {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 3px;
}

.snapshot-info {
  font-size: 0.85rem;
  color: #6c757d;
}

.snapshot-time {
  font-size: 0.8rem;
  color: #adb5bd;
  text-align: right;
  min-width: 100px;
}

/* View All Link */
.view-all-link {
  display: inline-block;
  margin-top: 10px;
  color: #4a6fa5;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.view-all-link:hover {
  color: #2c4162;
  text-decoration: underline;
}

.view-all-link i {
  margin-left: 5px;
  font-size: 0.9em;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .dashboard-widgets {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .widget-large,
  .widget-medium {
    grid-column: span 6;
  }
}

@media (max-width: 992px) {
  .dashboard-main {
    flex-direction: column;
  }
  
  .dashboard-content {
    padding: 15px;
  }
  
  .monitoring-controls {
    flex-direction: column;
  }
  
  .monitoring-filters {
    flex-direction: column;
    width: 100%;
  }
  
  .filter-group {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .monitoring-stats {
    flex-wrap: wrap;
  }
  
  .monitoring-stat {
    flex: 0 0 calc(50% - 10px);
    margin-bottom: 10px;
  }
  
  .monitoring-table-container {
    overflow-x: auto;
  }
  
  .monitoring-table th,
  .monitoring-table td {
    padding: 8px 5px;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .btn-icon {
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dashboard-widgets {
    grid-template-columns: 1fr;
  }
  
  .widget-large,
  .widget-medium,
  .widget-small {
    grid-column: span 1;
  }
  
  .monitoring-table-container {
    overflow-x: auto;
  }
  
  .monitoring-table th,
  .monitoring-table td {
    padding: 8px 5px;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .btn-icon {
    margin-bottom: 5px;
  }
  
  .snapshot-item {
    padding: 12px 15px;
  }
  
  .snapshot-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    margin-right: 10px;
  }
  
  .snapshot-time {
    min-width: 80px;
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .stats-cards {
    grid-template-columns: 1fr;
  }
  
  .activity-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .activity-icon {
    margin-bottom: 10px;
  }
  
  .activity-action {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* Monitoring Dashboard Styles */
.monitoring-dashboard {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Stats Cards */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.5rem;
}

.stat-icon.alert {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.stat-icon.warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.stat-icon.success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.stat-icon.info {
  background-color: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
}

.stat-info h3 {
  font-size: 1.5rem;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.stat-info p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
}

/* Platform Monitoring */
.monitoring-platforms {
  margin-bottom: 20px;
}

.section-subheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-subheader h3 {
  margin: 0;
  font-size: 1.2rem;
}

.controls {
  display: flex;
  gap: 10px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.platform-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.platform-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.platform-header i {
  font-size: 1.5rem;
  margin-right: 10px;
  color: #4a6fa5;
}

.platform-header h4 {
  margin: 0;
  font-size: 1.1rem;
}

.platform-status {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.platform-status.alert {
  background-color: rgba(220, 53, 69, 0.1);
}

.platform-status.warning {
  background-color: rgba(255, 193, 7, 0.1);
}

.platform-status.success {
  background-color: rgba(40, 167, 69, 0.1);
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 10px;
}

.platform-status.alert .status-indicator {
  background-color: #dc3545;
}

.platform-status.warning .status-indicator {
  background-color: #ffc107;
}

.platform-status.success .status-indicator {
  background-color: #28a745;
}

.platform-actions {
  display: flex;
  justify-content: space-between;
}

/* Monitoring Table */
.monitoring-details {
  margin-bottom: 20px;
}

.search-box {
  position: relative;
}

.search-box i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}

.search-box input {
  padding: 8px 10px 8px 35px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 250px;
}

.monitoring-table-container {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
}

.monitoring-table {
  width: 100%;
  border-collapse: collapse;
}

.monitoring-table th,
.monitoring-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eaedf2;
}

.monitoring-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #495057;
  font-size: 0.9rem;
}

.monitoring-table tr:last-child td {
  border-bottom: none;
}

.content-info {
  display: flex;
  align-items: center;
}

.content-thumbnail {
  width: 40px;
  height: 40px;
  background-color: #eaedf2;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #4a6fa5;
}

.content-details h5 {
  margin: 0 0 5px 0;
  font-size: 0.95rem;
}

.content-details span {
  font-size: 0.8rem;
  color: #6c757d;
}

.platform {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.platform i {
  margin-right: 5px;
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-badge.alert {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.status-badge.warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.status-badge.success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.action-buttons {
  display: flex;
  gap: 5px;
}

.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6c757d;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background-color: #f8f9fa;
}

.btn-icon.primary {
  color: #4a6fa5;
  border-color: #4a6fa5;
}

.btn-icon.warning {
  color: #ffc107;
  border-color: #ffc107;
}

.btn-icon.success {
  color: #28a745;
  border-color: #28a745;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn {
  padding: 8px 15px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn-sm {
  padding: 5px 10px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: #4a6fa5;
  color: #fff;
  border-color: #4a6fa5;
}

.btn-primary:hover {
  background-color: #3d5d8a;
}

.btn-outline {
  background-color: #fff;
  color: #4a6fa5;
  border-color: #4a6fa5;
}

.btn-outline:hover {
  background-color: #f0f4f9;
}

@media (max-width: 992px) {
  .stats-cards,
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-cards,
  .platform-grid {
    grid-template-columns: 1fr;
  }
  
  .section-subheader {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .search-box input {
    width: 100%;
  }
}

/* Footer Styles */
.footer {
  background-color: #0674bb;
  color: #fff;
  padding: 20px 0;
  margin-top: 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-info p {
  margin: 0;
  font-size: 0.9rem;
}

/* Dashboard Sections */
.dashboard-section {
  display: none;
  margin-bottom: 30px;
}

.dashboard-section.active {
  display: block;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.dashboard-header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #2c4162;
}

.dashboard-actions {
  display: flex;
  gap: 10px;
}

/* Status Overview Cards */
.status-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.status-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.status-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.status-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.5rem;
}

.status-violations .status-icon {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.status-pending .status-icon {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.status-resolved .status-icon {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.status-revenue .status-icon {
  background-color: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
}

.status-details h3 {
  margin: 0 0 5px 0;
  font-size: 0.9rem;
  color: #6c757d;
}

.status-count {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c4162;
}

.status-trend {
  margin: 5px 0 0 0;
  font-size: 0.8rem;
  color: #6c757d;
}

.status-trend i {
  margin-right: 3px;
}

.fa-arrow-up {
  color: #28a745;
}

.fa-arrow-down {
  color: #dc3545;
}

/* Section Titles */
.section-title {
  margin: 30px 0 20px 0;
}

.section-title h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #2c4162;
}

/* Platform Monitoring */
.platform-monitoring {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.platform-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.platform-header {
  padding: 15px;
  display: flex;
  align-items: center;
  color: #fff;
}

.platform-header i {
  font-size: 1.5rem;
  margin-right: 10px;
}

.platform-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.platform-header.youtube {
  background-color: #ff0000;
}

.platform-header.spotify {
  background-color: #1DB954;
}

.platform-header.tiktok {
  background-color: #000000;
}

.platform-header.soundcloud {
  background-color: #FF7700;
}

.platform-content {
  padding: 15px;
}

.platform-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.platform-stat {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c4162;
}

.platform-status {
  margin-bottom: 15px;
}

.status-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.status-warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.status-danger {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.platform-actions {
  display: flex;
  gap: 10px;
}

/* Violations Table */
.violations-table {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 30px;
}

.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #495057;
}

.table tr:last-child td {
  border-bottom: none;
}

.content-info {
  display: flex;
  flex-direction: column;
}

.content-title {
  font-weight: 500;
  color: #2c4162;
  margin-bottom: 3px;
}

.content-meta {
  font-size: 0.8rem;
  color: #6c757d;
}

.platform-info {
  display: flex;
  align-items: center;
}

.platform-info i {
  margin-right: 5px;
}

.action-buttons {
  display: flex;
  gap: 5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.8rem;
}

.btn-primary {
  background-color: #0674bb;
  color: #fff;
}

.btn-primary:hover {
  background-color: #055a8e;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #ced4da;
  color: #495057;
}

.btn-outline:hover {
  background-color: #f8f9fa;
}

.btn i {
  margin-right: 5px;
}
