:root {
  --primary: rgb(36, 105, 144);
}

/* noto-sans-500 - latin */
@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/noto-sans-v42-latin-500.woff2") format("woff2");
}
/* noto-sans-700 - latin */
@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/noto-sans-v42-latin-700.woff2") format("woff2");
}
/* noto-sans-mono-500 - latin */
@font-face {
  font-display: swap;
  font-family: "Noto Sans Mono";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/noto-sans-mono-v37-latin-500.woff2") format("woff2");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans", sans-serif;
  display: flex;
  background-color: #13354D;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  background-color: white;
  padding: 2rem;
  border-radius: 0;
  width: 100%;
  max-width: 500px;
}

.login-container {
  border-radius: 8px;
  background-color: #13354D;
}
.login-container .logo img {
  width: 160px;
}
.login-container form {
  margin-top: 20px;
}
.login-container form .form-group label {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: inline-block;
  color: #ffffff;
}
.login-container form .form-group input {
  display: block;
  padding: 14px;
  width: 100%;
  border-radius: 8px;
  border: 3px solid rgb(64, 143, 188);
  background-color: transparent;
  color: rgb(160, 203, 228);
  font-family: "Noto Sans", sans-serif;
  font-size: 20px;
}
.login-container form .form-group input:hover {
  border: 3px solid var(--primary);
}
.login-container form .form-group input:focus {
  border: 3px solid var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgb(160, 203, 228);
}
.login-container form button[type=submit] {
  margin-top: 20px;
  background-color: var(--primary);
  padding: 14px 28px;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  font-size: 18px;
  cursor: pointer;
}
.login-container form button[type=submit]:hover {
  background-color: var(--primary);
  filter: brightness(1.1);
}
.login-container form button[type=submit]:active {
  background-color: var(--primary);
  filter: brightness(1);
}
.login-container .error {
  display: none;
  color: #f44336;
  margin-top: 20px;
}
.login-container .error.show {
  display: block;
}

body.index {
  display: block;
  height: 100vh;
  overflow: hidden;
}

.container {
  display: flex;
  height: 100vh;
}

.left-panel {
  width: 50%;
  background-color: #13354D;
  padding: 2rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.left-panel .logo-wrapper {
  margin-bottom: 40px;
}
.left-panel .logo-wrapper .logo img {
  width: 200px;
}
.left-panel .logo-wrapper .title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-top: 12px;
}
.left-panel #extractForm .form-group {
  margin-bottom: 40px;
}
.left-panel #extractForm .form-group input[type=text],
.left-panel #extractForm .form-group input[type=url] {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 3px solid rgb(64, 143, 188);
  background-color: transparent;
  color: rgb(160, 203, 228);
  font-family: "Noto Sans", sans-serif;
  font-size: 20px;
}
.left-panel #extractForm .form-group input[type=text]::placeholder,
.left-panel #extractForm .form-group input[type=url]::placeholder {
  color: var(--primary);
}
.left-panel #extractForm .form-group input[type=text]:hover,
.left-panel #extractForm .form-group input[type=url]:hover {
  border: 3px solid var(--primary);
}
.left-panel #extractForm .form-group input[type=text]:focus,
.left-panel #extractForm .form-group input[type=url]:focus {
  border: 3px solid var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgb(160, 203, 228);
}
.left-panel #extractForm .form-group label {
  margin-bottom: 10px;
  display: inline-block;
  color: #ffffff;
}
.left-panel #extractForm .form-group .checkbox-group {
  margin-top: 10px;
}
.left-panel #extractForm .form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.left-panel #extractForm .form-actions button[type=submit] {
  background-color: var(--primary);
  padding: 14px 28px;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 18px;
  cursor: pointer;
}
.left-panel #extractForm .form-actions button[type=submit]:hover {
  background-color: var(--primary);
  filter: brightness(1.1);
}
.left-panel #extractForm .form-actions button[type=submit]:active {
  background-color: var(--primary);
  filter: brightness(1);
}
.left-panel #extractForm .form-actions a {
  color: #ffffff;
}

.right-panel {
  padding: 1rem;
  display: flex;
  width: 50%;
  background-color: white;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.right-panel .right-panel-inner {
  position: relative;
  border: 2px dashed var(--primary);
  width: 100%;
  height: 100%;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.right-panel .placeholder-text {
  color: #999;
  font-size: 1.2rem;
  text-align: center;
}
.right-panel .loader {
  display: none;
  text-align: center;
}
.right-panel .spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.right-panel .result-container {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
}
.right-panel .result-container .page-meta {
  margin-top: 20px;
  margin-bottom: 20px;
}
.right-panel .result-container .page-meta .page-title {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 20px;
  margin-bottom: 10px;
}
.right-panel .result-container .page-meta .page-title strong {
  min-width: 200px;
}
.right-panel .result-container .page-meta .meta-desc {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 20px;
}
.right-panel .result-container .page-meta .meta-desc strong {
  min-width: 200px;
}
.right-panel .result-container .button-group-wrapper {
  display: flex;
  justify-content: space-between;
}
.right-panel .result-container .button-group {
  display: flex;
  gap: 10px;
  align-items: center;
}
.right-panel .result-text {
  font-family: "Noto Sans Mono", monospace;
  font-size: 12px;
  line-height: 1.4;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-y: auto;
  flex: 1;
  margin-bottom: 1rem;
  max-height: calc(100vh - 200px);
}
.right-panel .copy-button {
  background-color: var(--primary);
  padding: 14px 28px;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: center;
}
.right-panel .error-message {
  color: #f44336;
  background: #ffebee;
  border: 1px solid #f44336;
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
  display: none;
}
.right-panel .success-info {
  font-size: 12px;
  color: #666;
  margin-bottom: 0.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .left-panel, .right-panel {
    width: 100%;
    height: 50vh;
  }
  body {
    overflow: auto;
  }
}
.nf {
  flex-direction: column;
}
.nf .error-code {
  font-size: 150px;
  font-weight: bold;
  color: white;
  margin-bottom: 30px;
  font-family: "Noto Sans", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: block;
}
.nf .back-link {
  font-family: "Noto Sans";
  font-size: 18px;
  color: white;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}
.nf .back-link:hover {
  opacity: 0.8;
}
@media (max-width: 768px) {
  .nf .error-code {
    font-size: 100px;
  }
  .nf .back-link {
    font-size: 16px;
  }
}

/*# sourceMappingURL=main.css.map */
