/* 视频文件管理系统 - 全局样式 */

:root {
  --vm-primary: #0d6efd;
  --vm-radius: 0.75rem;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* 登录页 */
.login-page {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 50%, #d63384 100%);
  min-height: 100vh;
}

.login-card {
  max-width: 420px;
  border-radius: var(--vm-radius);
}

.login-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.1);
  color: var(--vm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

/* 统计卡片 */
.stat-card {
  border-radius: var(--vm-radius);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

/* 上传拖拽区 */
.upload-dropzone {
  border: 2px dashed #ced4da;
  border-radius: var(--vm-radius);
  background: #f8f9fa;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--vm-primary);
  background: rgba(13, 110, 253, 0.05);
}

/* 表格与卡片 */
.table th {
  font-weight: 600;
  white-space: nowrap;
}

.card {
  border-radius: var(--vm-radius);
}

/* 移动端大按钮 */
@media (max-width: 767.98px) {
  .btn-lg {
    min-height: 48px;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  main {
    padding-bottom: 2rem;
  }
}

/* 导航 active */
.navbar .nav-link.active {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
