/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 20px;

  background: #fff;
  border-bottom: 1px solid #ddd;

  z-index: 1000;
}

.nav-left {
  font-weight: bold;
  font-size: 1rem;
}

.nav-right {
  display: flex;
  gap: 10px;
}

.nav-right button {
  width: auto;
  padding: 8px 12px;
  font-size: 0.85rem;
}

/* =========================
   PAGE
========================= */

body {
  margin: 0;
  padding-top: 70px;

  font-family: Arial, Helvetica, sans-serif;

  background: #fff;
  color: #000;
}

/* =========================
   MAIN CARD
========================= */

.card {
  width: 90%;
  max-width: 650px;

  margin: 40px auto;

  padding: 30px;
}

h1 {
  text-align: center;
  margin-bottom: 10px;
}

.hint {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.api-link {
  text-align: center;

  font-size: 0.8rem;
  color: #666;

  margin-bottom: 20px;

  word-break: break-all;
}

/* =========================
   FORM
========================= */

input {
  width: 100%;

  padding: 12px;
  margin-bottom: 10px;

  box-sizing: border-box;

  border: 1px solid #ddd;
  border-radius: 6px;
}

button {
  width: 100%;

  padding: 12px;

  background: #000;
  color: #fff;

  border: none;
  border-radius: 6px;

  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #333;
}

/* =========================
   CURL BLOCK
========================= */

pre {
  background: #111;
  color: #eee;

  padding: 14px;

  border-radius: 8px;

  overflow-x: auto;
}

code {
  font-family: Consolas, monospace;
}

/* =========================
   RESULT
========================= */

.result {
  margin-top: 20px;

  padding: 15px;

  border: 1px solid #ddd;
  border-radius: 8px;

  background: #fafafa;

  min-height: 120px;

  white-space: pre-wrap;
  word-break: break-word;
}

/* =========================
   EXCEL SECTION
========================= */
.excel-section {
  height: 100vh;
  width: 100%;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  text-align: center;

  background: #fff;
  overflow: hidden;
  padding: 40px;
}



.excel-gif {
  width: 100vw;
  height: 100vh;

  object-fit: cover;

  display: block;
}
/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .navbar {
    padding: 10px;
  }

  .nav-right {
    gap: 6px;
  }

  .nav-right button {
    font-size: 0.75rem;
    padding: 8px 10px;
  }

  .card {
    width: 95%;
    padding: 20px;
  }

  .excel-section {
    padding: 40px 15px;
  }
}

.mail-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;

  display: block;
}

.nav-left a {
  display: flex;
  align-items: center;
}