/* ==========================================================
   AlpeVision Timestamp System – Frontend Styles
   Theme: Black / White / AlpeVision Green (#9EBD47)
   Version 2.5.0
   ========================================================== */

.alpevision-certify-container {
  max-width: 420px;
  margin: 60px auto;
  padding: 25px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #0f0f0f;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-family: "Inter", Arial, sans-serif;
}

.alpevision-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #9EBD47;
  letter-spacing: 0.5px;
}

.alpevision-form label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: 600;
  color: #ccc;
}

.alpevision-form input[type="email"],
.alpevision-form input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #1b1b1b;
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s ease-in-out;
}

.alpevision-form input:focus {
  outline: none;
  border-color: #9EBD47;
}

.credits-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
}

#ts-credits {
  font-weight: 600;
  font-size: 1rem;
}

.btn-refresh {
  background: #9EBD47;
  border: none;
  color: #0f0f0f;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-refresh:hover {
  background: #b9d867;
}

/* ---------- BUTTONS ---------- */
.alpevision-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.btn-link,
.btn-upload,
.btn-download {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-link {
  background: #222;
  color: #fff;
  border: 1px solid #333;
}
.btn-link:hover {
  background: #9EBD47;
  color: #0f0f0f;
}

.btn-upload {
  background: #9EBD47;
  color: #0f0f0f;
  border: none;
  width: 100%;
  margin-top: 10px;
}
.btn-upload:hover {
  background: #b9d867;
}

.btn-download {
  background: #9EBD47;
  color: #0f0f0f;
  margin-top: 15px;
}
.btn-download:hover {
  background: #b9d867;
}

/* ---------- RESULTS & MESSAGES ---------- */
.ts-result {
  margin-top: 15px;
  padding: 10px;
  border-radius: 6px;
  background: #1a1a1a;
  font-size: 0.95rem;
  min-height: 40px;
  color: #ddd;
}

.ts-result p {
  margin: 5px 0;
}

.ts-result .error {
  color: #ff4c4c;
  font-weight: 600;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
  .alpevision-certify-container {
    margin: 30px 15px;
    padding: 20px;
  }
  .alpevision-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .btn-link {
    width: 100%;
  }
}
