/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

/* Header and Footer */
header, footer {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

footer a {
  color: #343a40;
}

footer a:hover {
  color: #28a745;
}

#refresh {
      position: fixed;
      top: -50px;
      left: 0;
      right: 0;
      height: 50px;
      background-color: #4caf50;
      color: white;
      text-align: center;
      line-height: 50px;
      transition: top 0.3s;
    }
   
   
   /* Spinner animation */
    .spinner {
      display: inline-block;
      width: 24px;
      height: 24px;
      vertical-align: middle;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Custom PTR styles */
    .ptr--ptr {
      font-size: 16px;
      color: #555;
      text-align: center;
      padding: 10px;
    }
    
    
/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  height: 100%;
  width: 250px;
  background-color: #343a40;
  overflow-y: auto;
  transition: all 0.5s ease;
  z-index: 10001;
}

.sidebar.open {
  left: 0;
}

.sidebar .sidebar-header {
  background: #495057;
  color: white;
  text-align: center;
  padding: 15px;
}

.sidebar ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar ul li {
  border-bottom: 1px solid #495057;
}

.sidebar ul li a {
  color: white;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
}

.sidebar ul li a:hover {
  background-color: #28a745;
}

/* Overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

.top_space {
    margin-top: 135px;
    padding-bottom: 80px;
}

