html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

[v-cloak] {
  display: none !important;
}

/* Override Bootstrap container for full width */
.container {
  max-width: none !important;
}

.container-wide {
  margin: 0 auto;
  padding: 20px;
}

.gap-3 {
  gap: 1rem;
}

/* App Header */
.app-header {
  text-align: center;
  padding: 30px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  margin-bottom: 30px;
}

.app-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.app-subtitle {
  font-size: 1.1rem;
  margin: 10px 0 0 0;
  opacity: 0.9;
}

/* Cards */
.import-card {
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.import-card .el-card__body {
  padding: 20px;
}

.import-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.import-btn {
  min-width: 120px;
  height: 36px;
  font-weight: 500;
}

.import-btn .el-icon {
  margin-right: 5px;
}

.import-result {
  display: flex;
  align-items: center;
  color: #67c23a;
  font-size: 14px;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.active-drives-card {
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.drives-card {
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.drives-card .el-card__body {
  padding: 20px;
}

/* Card Headers */
.card-header {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.drives-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.header-right {
  display: flex;
  align-items: center;
}

.import-btn-header {
  width: 40px;
  height: 40px;
}

/* Statistics */
.el-statistic {
  text-align: center;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.el-statistic:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.el-statistic .el-statistic__head {
  font-size: 14px;
  color: #909399;
  margin-bottom: 8px;
}

.el-statistic .el-statistic__content {
  font-size: 28px;
  font-weight: 600;
}

/* Controls */
.controls-left {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}

.pagination-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.total-count {
  font-size: 14px;
  color: #606266;
  font-weight: 500;
}

/* Table improvements */
.el-table {
  font-size: 14px;
}

.el-table .el-table__header-wrapper {
  background-color: #f5f7fa;
}

.el-table th {
  background-color: #f5f7fa !important;
  color: #303133;
  font-weight: 600;
}

.sortable-header {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}

.sortable-header:hover {
  color: #409EFF;
}

/* Badges */
.badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* Transitions */
.el-fade-in-enter-active,
.el-fade-in-leave-active {
  transition: opacity 0.3s;
}

.el-fade-in-enter-from,
.el-fade-in-leave-to {
  opacity: 0;
}

/* Bootstrap Icons adjustments */
.bi-hdd, .bi-search, .bi-check, .bi-cart, .bi-exclamation-triangle, .bi-clock {
  color: #606266;
}

.import-btn-header .bi-upload {
  color: white;
}

.el-statistic .bi-hdd {
  color: #409EFF;
  margin-right: 8px;
}

.el-statistic .bi-check {
  color: #67C23A;
  margin-right: 8px;
}

.el-statistic .bi-cart {
  color: #F56C6C;
  margin-right: 8px;
}

.el-statistic .bi-exclamation-triangle {
  color: #E6A23C;
  margin-right: 8px;
}

/* Make table rows clickable */
.el-table__row {
  cursor: pointer;
}

.el-table__row:hover {
  background-color: #f5f7fa !important;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}