/* '''''''''''''''''''''''''''''''''''''''' */
/* PROFESSIONAL MINIMALIST DESIGN */
/* '''''''''''''''''''''''''''''''''''''''' */

/* MAIN DEFAULT STYLES */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fafbfc;
  color: #1a1a1a;
  line-height: 1.5;
}

#background-pic {
  top: 0;
  left: 0;
  position: fixed;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  height: 100%;
  width: 100%;
  opacity: 0.85;
}

h1,
h2,
p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: black;
  display: block;
}

ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

h3 {
  margin-top: 3rem;
  padding: 0;
  text-align: center;
  font-size: 3rem;
}

.hidden {
  display: none !important;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ----------------------------------- */
/* AUTH FORM STYLES */
/* ------------------------------------- */

#auth-form-wrapper {
  max-width: 600px;
  margin: 3rem auto;
  background: #ffffff;
  /* backdrop-filter: blur(16px); */
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

#auth-form-wrapper li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#auth-pw-list-item {
  padding: 2rem;
  padding-bottom: 0;
  margin-bottom: 1.5rem;
}

#auth-label {
  font-size: 1.1rem;
  /* font-size: 14px; */
  font-weight: 600;
  color: #374151;
  margin-bottom: 0;
}

#auth-button {
  width: 90%;
  margin: 0 auto;
  margin-bottom: 1rem;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ----------------------------------- */
/* INPUT FORM STYLES */
/* ------------------------------------- */

#input-form-wrapper {
  margin: 3rem auto;
  max-width: 720px;
  display: flex;
  background: #ffffff;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

#input-form-element {
  width: 100%;
  margin: 0 auto;
  /* margin-top: 3rem; */
}

.form-title {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 1rem 2rem;
  background: #f3f4f6;
  border-bottom: 1px solid #d1d5db;
}

.form-list-item {
  padding: 2rem;
  padding-bottom: 0;
}

.form-list-item:first-child {
  padding-top: 0;
}

#token-temp-list-item {
  display: flex;
  gap: 3rem;
}

.input-half {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#button-list-item {
  margin-top: 1rem;
  padding: 1rem 2rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.1rem;
  margin-left: 0.25rem;
}

.form-control,
.form-select,
.form-input,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111827;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(209, 213, 219, 0.6);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.form-input:hover,
.form-textarea:hover {
  border-color: #9ca3af;
  background: rgba(255, 255, 255, 0.85);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-select:hover,
.form-select:focus {
  border-color: #3b82f6;
}

.form-textarea::placeholder,
.form-input::placeholder {
  color: #9ca3af;
}

#advanced-options-list-item {
  transition: border-bottom 0.5s ease, padding-bottom 0.5s ease;
}

#form-submit-button {
  font-size: 18px;
  padding: 1.2rem;
}

.toggle-wrapper {
  background: rgba(234, 235, 236, 0.9);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.advanced-toggle-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.advanced-toggle-btn.expanded {
  transform: rotate(45deg);
}

/* +++++++++++++++++++++++++++++++++++ */

/* ----------------------------------- */
/* WAIT FORM STYLES */
/* ------------------------------------- */

#wait-wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2rem;
  box-sizing: border-box;
}

#wait-text {
  font-size: 1.5rem;
  text-align: center;
  box-sizing: border-box;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ----------------------------------- */
/* RETURN FORM STYLES */
/* ------------------------------------- */

#return-wrapper {
  max-width: 100%;
  width: 100%;
  margin-top: 2rem;
  padding: 0 2rem;
  box-sizing: border-box;
  overflow-x: hidden;
}

#copy-paste-area-wrapper {
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.copy-paste-wrapper {
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* gap: 0.5rem; */
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
}

#header-text {
  width: 100%;
  text-align: left;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: #f3f4f6;
  border-bottom: 1px solid #d1d5db;
  border-radius: 12px 12px 0 0;
}

#copy-paste-element {
  padding: 2rem;
  padding-top: 1rem;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 400;
  word-break: break-word;
  white-space: pre-wrap;
  line-height: 1.6;
  border-radius: 0 0 12px 12px;
}

#copy-button {
  margin: 0 auto;
  margin-bottom: 0.5rem;
  padding: 1.1rem;
  justify-content: center;
  width: 80%;
  text-align: center;
}

#parse-data {
  width: 99%;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 1rem;
  background: #f3f4f6;
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 400;
  word-break: break-all;
  font-family: "Courier New", monospace;
  border-radius: 12px;
}

.pretty-button {
  background: #374151;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.pretty-button:hover {
  background: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pretty-button:active {
  transform: translateY(0);
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ----------------------------------- */
/* CLASSES */
/* ------------------------------------- */

.button-wrapper {
  width: 100%;
}

.btn-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: #111827;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-submit:active {
  transform: translateY(0);
}

.password-input-wrapper {
  position: relative;
  width: 100%;
}

.password-input {
  width: 100%;
  padding: 11px 44px 11px 14px;
  font-size: 15px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111827;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(209, 213, 219, 0.6);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.password-input:hover {
  border-color: #9ca3af;
  background: rgba(255, 255, 255, 0.85);
}

.password-input:focus {
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.password-input::placeholder {
  color: #9ca3af;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: color 0.2s ease;
}

.password-toggle-btn:hover {
  color: #374151;
}

.password-toggle-btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 4px;
}

.password-toggle-btn svg {
  width: 20px;
  height: 20px;
}
