/* General Styles */
body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

/* Login Screen */
#login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  padding: 20px;
}

.login-container {
  width: 100%;
  max-width: 400px;
}

.login-logo {
  margin-bottom: 20px;
}

.login-logo i {
  color: #26a69a;
}

.login-logo h4 {
  margin-top: 0;
  color: #26a69a;
}

.logout-btn {
  padding: 0 15px;
}

.server-id-display {
  color: #757575 !important;
}

.app-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

/* Header */
nav {
  height: 90px;
  line-height: 90px;
}

nav .brand-logo {
  font-size: 2.5rem;
}

/* Main Content */
.main-content {
  padding-bottom: 70px; /* Space for bottom nav */
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 10px 0;
}

.tab-content.active {
  display: block;
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-header h5 {
  margin: 0;
  font-size: 1.4rem;
}

/* Jobs List */
.jobs-list {
  margin-top: 15px;
}

.job-card {
  margin-bottom: 15px;
  border-radius: 8px;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5px;
}

.job-header .card-title {
  font-size: 1.2rem;
  margin: 0;
}

.job-type {
  color: #757575;
  margin: 0 0 10px 0;
  font-size: 0.9rem;
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.job-time {
  display: flex;
  align-items: center;
  color: #757575;
  font-size: 0.8rem;
}

.job-time i {
  margin-right: 4px;
}

/* Badges */
.badge {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  color: white;
}

.badge.in-progress {
  background-color: #26a69a;
}

.badge.scheduled {
  background-color: #9e9e9e;
}

/* Priority */
.priority {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.priority.high {
  background-color: #ffcdd2;
  color: #c62828;
}

.priority.medium {
  background-color: #fff9c4;
  color: #f57f17;
}

/* Tools */
.ping-output, .wifi-output {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.8rem;
  white-space: pre-wrap;
  margin: 0;
}

.w100 {
  width: 100%;
}

/* Inventory */
.inventory-item {
  margin-bottom: 10px;
  border-radius: 8px;
}

.inventory-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inventory-name p,
.inventory-quantity p {
  margin: 0;
}

.item-name {
  font-weight: 500;
}

.item-id {
  color: #757575;
  font-size: 0.8rem;
}

.quantity {
  font-weight: 500;
  text-align: right;
}

.unit {
  color: #757575;
  font-size: 0.8rem;
  text-align: right;
}

.search-box {
  margin-bottom: 15px;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  display: flex;
  background-color: white;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  color: #9e9e9e;
  cursor: pointer;
}

.bottom-nav-item.active {
  color: #26a69a;
}

.bottom-nav-item i {
  font-size: 24px;
}

.bottom-nav-item span {
  font-size: 12px;
  margin-top: 2px;
}

/* Responsive adjustments */
@media only screen and (max-width: 600px) {
  .container {
    padding: 10px;
  }

  .section-header h5 {
    font-size: 1.2rem;
  }
}

.badge.in-progress, .badge.scheduled {
  color: #fff;
}

.badge.scheduled {
  background-color: #ffcdd2;
  color: #c62828;
}