:root {
  --font-rajdhani: "Rajdhani", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-jetbrains: "JetBrains Mono", Consolas, Menlo, Monaco, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fcfcfc;
  color: #111;
  font-family: var(--font-rajdhani);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hidden {
  display: none !important;
}

#vidscan-title {
  margin-bottom: 30px;
  font-family: var(--font-rajdhani);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-align: center;
}

#vidscan-title-small {
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
  font-family: var(--font-rajdhani);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-align: left;
}

#privacy {
  max-width: 80%;
  margin: 0 auto;
  margin-top: 15px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  color: #666;
}

button {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #111;
  border-radius: 4px;
  color: #111;
  font-family: var(--font-rajdhani);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  background: #111;
  color: #fff;
}

.drop-zone {
  padding: 80px 20px;
  background: #fff;
  border: 2px dashed #bbb;
  border-radius: 4px;
  text-align: center;
  transition: all 0.2s ease;
}

.drop-zone:hover,
.drop-zone.dragover {
  background: #f0f0f0;
  border-color: #111;
}

.drop-zone h3 {
  margin: 0 0 10px 0;
  font-family: var(--font-rajdhani);
  font-size: 1.5rem;
  font-weight: 500;
}

.drop-zone p {
  margin-bottom: 20px;
  color: #666;
}

.summary-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.card {
  flex: 1;
  text-align: center;
}

.card:not(:last-child) {
  border-right: 1px solid #eee;
}

.card .label {
  display: block;
  margin-bottom: 5px;
  color: #666;
  font-family: var(--font-rajdhani);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card .value {
  font-family: var(--font-rajdhani);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
}

#status {
  color: #555;
  font-family: var(--font-jetbrains);
  font-size: 0.85rem;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #eee;
}

th,
td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

th:first-child,
td:first-child {
  text-align: left;
}
th:not(:first-child),
td:not(:first-child) {
  text-align: right;
}

th {
  font-family: var(--font-rajdhani);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

tbody tr:hover {
  background-color: #f9f9f9;
}

td {
  font-weight: 500;
}

.folder-path,
.col-dur,
.col-count,
.col-size {
  color: #222;
  font-family: var(--font-jetbrains);
  font-size: 0.85rem;
  line-height: 1.5;
}

.folder-path {
  word-break: break-word;
}

@media (max-width: 650px) {
  .summary-bar {
    flex-direction: column;
    gap: 15px;
  }

  .card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
  }

  .action-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
