/* Layui Index Page Styles */

/* Page Layout */
.admin-body {
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  background-color: #f5f7fa;
  margin: 0;
  padding: 0;
  color: #333;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Card Components */
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  padding: 25px;
  border: 1px solid #e6e6e6;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 2px solid #16baaa;
  padding-bottom: 10px;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: #16baaa;
  color: white;
  border-color: #16baaa;
}

.btn-primary:hover {
  background-color: #149a8d;
  border-color: #149a8d;
}

.btn {
  background-color: #fff;
  color: #666;
  border-color: #d2d2d2;
}

.btn:hover {
  background-color: #f8f8f8;
  border-color: #16baaa;
  color: #16baaa;
}

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

.order-card {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  border: 1px solid #e9ecef;
}

.order-card-label {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 8px;
}

.local-order-count,
.last-order-no,
.last-order-total {
  font-size: 24px;
  font-weight: 600;
  color: #16baaa;
}

/* Info Text */
.info-text {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.6;
  margin-top: 15px;
  padding: 15px;
  background-color: #f8f9fa;
  border-left: 4px solid #16baaa;
  border-radius: 4px;
}

/* Instructions List */
.instructions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.instructions-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 20px;
}

.instructions-list li:before {
  content: "•";
  color: #16baaa;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.instructions-list li:last-child {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .wrap {
    padding: 15px;
  }
  
  .quick-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .order-overview-grid {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 20px;
  }
}

/* Animation */
.card {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}