* {
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #0b0d10;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 420px;
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

h1 {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

input[type="text"],
input[type="password"],
input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #0f1218;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
}

input::file-selector-button {
  background: #111827;
  border: none;
  color: #9ca3af;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

button {
  width: 100%;
  padding: 12px;
  background: #39ae98;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  color: #04110d;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

.error {
  margin-top: 12px;
  color: #ef4444;
  font-size: 14px;
}

.logout {
  margin-top: 20px;
  text-align: center;
}

.logout a {
  color: #6b7280;
  text-decoration: none;
  font-size: 13px;
}


/* new upload */

.status {
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 14px;
}

.status.success {
  background: rgba(57,174,152,0.12);
  border: 1px solid rgba(57,174,152,0.4);
  color: #6ee7d2;
}

.status.error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.4);
  color: #fca5a5;
}

.back-btn {
  display: block;
  margin-top: 10px;
  text-align: center;
  color: #9ca3af;
  text-decoration: none;
  font-size: 13px;
}

/* adaptive page */

@media (max-width: 600px) {

  body {
    padding: 20px;
    align-items: flex-start;
  }

  .container {
    max-width: 100%;
    padding: 24px 20px;
    border-radius: 16px;
  }

  h1 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  input[type="text"],
  input[type="password"],
  input[type="file"] {
    font-size: 16px; /* prevents iOS zoom */
    padding: 14px;
  }

  button {
    font-size: 16px;
    padding: 14px;
  }

  .status {
    font-size: 15px;
  }

  .logout a,
  .back-btn {
    font-size: 14px;
  }
}
