/* FileHub global styles - responsive for mobile & desktop (PHP 5.6 friendly, no JS required) */

/* CSS Reset (minimal) */
:root{
  --shadow-small: 0 3px 9px rgba(0, 0, 0, .08);
    --shadow-medium: 0 3px 20px rgba(0, 0, 0, .08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a {text-decoration: none;}

/* Layout & Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
  line-height: 1.5;
  color: #1f2328;
  background: #f5f5f7;
}

.container {
  max-width: 700px;
  margin: 0 auto;
}

/* h1, h2, h3, h4, h5 {
  margin: 0 0 12px 0;
  line-height: 1.25;
} */

p { margin: 0 0 5px 0; }

/* Nav */
nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    position: fixed;
    top: 0;
    z-index: 1;
    height: 60px;
    background-color: #fff;
    width: 100%;
}

nav a, nav span {
  display: inline-block;
  padding: 6px 10px;
  text-decoration: none;
  color: #1f2328;
  border-radius: 6px;
}

nav a:hover { background: #f2f4f7; }

hr { border: none; border-top: 1px solid #e5e7eb; margin: 12px 0 16px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #d0d7de;
  border-radius: 28px;
  background: #f6f8fa;
  color: #24292f;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
      /* width: 320px; */
    max-width: 100%;
}
.btn:hover { background: #eef1f4; }
.btn.primary {
  background: #0969da;
  border-color: #0969da;
  color: #fff;
  width: 320px;
  margin-top: 20px;
}
.btn.primary:hover { background: #0759b8; }

/* Forms */
form input[type="text"],
form input[type="password"],
form input[type="file"],
form select {
  display: inline-block;
  padding: 8px 12px;
  height: 42px;
  line-height: 22px;
  border: 1px solid #d0d7de;
  border-radius: 28px;
  width: 320px;
  max-width: 100%;
  background-color: #fff;
  color: #1f2328;
  font-size: 15px;
  appearance: none;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

form input[type="text"]:focus,
form input[type="password"]:focus,
form input[type="file"]:focus,
form select:focus {
  border-color: #0969da;
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.2);
}

form select {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231f2328" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpolyline points="6 9 12 15 18 9"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

form .row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
form .row > * { margin: 4px 0; }

/* Tables */
.table-wrap { width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 720px; }
th, td { border: 1px solid #e5e7eb; padding: 8px 10px; text-align: left; }
th { background: #f6f8fa; font-weight: 600; }

/* Alerts */
.alert { padding: 10px 12px; border-radius: 6px; margin: 8px 0;  
    max-width: 100%;}
.alert.success { background: #ecfdf5; border: 1px solid #10b981; color: #065f46; }
.alert.error   { background: #fef2f2; border: 1px solid #ef4444; color: #991b1b; }

/* Footer */
footer {
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
  border-top: 1px solid #e5e7eb;
  /* position: absolute;
    bottom: 0; */
    width:100%;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  nav { gap: 6px 8px; }
  .btn { padding: 8px 10px; }
  table { min-width: 600px; } /* allow horizontal scroll */
  form input[type="text"],
  form input[type="password"],
  form input[type="file"],
  form select { width: 100%; }
}
.first{
    font-weight: 800;
    font-size: 21px;
}
.second{
  font-size: 14px;
    color: #b4b4b4;
}