@charset "UTF-8";
/* ==========================================================================
   6. Main SCSS File (style.scss)
   ========================================================================== */
/* static/scss/style.scss */
/* ==========================================================================
   1. Base Styles (_base.scss)
   ========================================================================== */
/* static/scss/_base.scss */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f4f4f9;
  color: #333;
  display: flex;
  flex-direction: column; /* フッターを下に配置するために変更 */
  justify-content: center;
  align-items: center;
  padding: 2em;
  min-height: 100vh;
  box-sizing: border-box;
  margin: 0;
}

h1 {
  text-align: center;
  color: #444;
  margin-top: 0;
}

p {
  text-align: center;
}

a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   2. Layout Styles (_layout.scss)
   ========================================================================== */
/* static/scss/_layout.scss */
.container {
  background-color: #ffffff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 800px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2em;
  border-bottom: 2px solid #dee2e6;
}

.user-info {
  font-size: 0.9em;
  color: #6c757d;
  white-space: nowrap;
}

.tab-nav {
  display: flex;
  border-bottom: none;
  margin-bottom: 0;
}

.tab-link {
  padding: 0.75em 1.25em;
  border: 2px solid transparent;
  border-bottom: none;
  margin-bottom: -2px;
  text-decoration: none;
  color: #007bff;
  font-weight: 500;
  border-radius: 4px 4px 0 0;
  transition: background-color 0.2s, border-color 0.2s;
}
.tab-link:hover {
  background-color: #f8f9fa;
  border-color: #e9ecef #e9ecef #dee2e6;
  text-decoration: none;
}
.tab-link.active {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

.site-footer {
  max-width: 100%;
  text-align: center;
  padding: 1em 0;
  margin-top: auto; /* コンテンツが少なくてもフッターを下に配置 */
  color: #888;
  font-size: 0.9em;
}
.site-footer img {
  max-width: 100%;
  text-align: center;
}
.site-footer ul {
  padding-left: 0;
}
.site-footer li {
  list-style: none;
}

/* ==========================================================================
   3. Form Styles (_forms.scss)
   ========================================================================== */
/* static/scss/_forms.scss */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  text-align: left;
}

fieldset {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1.5em;
  margin: 0;
}

legend {
  font-weight: bold;
  color: #0056b3;
  padding: 0 0.5em;
}

label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 500;
}

.toggle-label {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
}

input[type=text],
input[type=email],
input[type=password],
input[type=number],
select,
input[type=file] {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

#smtp-settings-wrapper {
  display: none;
}

/* ==========================================================================
   4. Button Styles (_buttons.scss)
   ========================================================================== */
/* static/scss/_buttons.scss */
.button-save-qr, .button-danger, .button-download, .button-generate {
  color: white;
  border: none;
  cursor: pointer;
  padding: 12px 20px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.2s;
  text-decoration: none;
}
.button-save-qr:hover, .button-danger:hover, .button-download:hover, .button-generate:hover {
  text-decoration: none;
}

.button-generate {
  background-color: #007bff;
}
.button-generate:hover {
  background-color: #0056b3;
}

.button-download {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background-color: #007bff;
}
.button-download:hover {
  background-color: #0056b3;
}

.button-danger {
  display: inline-block;
  width: 100%;
  background-color: #dc3545;
  padding: 10px 20px;
  font-size: 1em;
}
.button-danger:hover {
  background-color: #c82333;
}

.button-tool-select {
  /* ボタンのデフォルトスタイルをリセット */
  border: 1px solid #dee2e6;
  background-color: #007bff;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  /* レイアウトとデザイン */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}
.button-tool-select:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-color: #007bff;
  background-color: #0056b3;
  text-decoration: none;
}
.button-tool-select .icon {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.button-save-qr {
  display: inline-block;
  width: 100%;
  background-color: #007bff;
  padding: 10px 20px;
  font-size: 1em;
}
.button-save-qr:hover {
  background-color: #0056b3;
}

/* ==========================================================================
   5. Component Styles (_components.scss)
   ========================================================================== */
/* static/scss/_components.scss */
.qr-code {
  margin: 2em 0;
  text-align: center;
}

.url-box {
  word-wrap: break-word;
  background-color: #f0f0f0;
  padding: 1em;
  border-radius: 4px;
  text-align: left;
  margin-top: 1em;
}

.warning {
  color: #d9534f;
  font-weight: bold;
  margin-top: 2em;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.result-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1em;
  text-align: center;
}
.result-item img {
  max-width: 100%;
  height: auto;
}
.result-item code {
  font-size: 0.9em;
  word-wrap: break-word;
}

.flash-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

.flash-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

/* --- Q&Aページ用のスタイル --- */
.qa-content h2 {
  text-align: left;
  margin-top: 2em;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5em;
  font-size: 1.2em;
}

.qa-content p {
  /* このクラスの中にあるpタグだけを左詰めに上書き */
  text-align: left;
}

.tool-selection {
  display: flex; /* 横並びにする */
  justify-content: center; /* 中央に配置 */
  gap: 2em; /* ボタン間の隙間 */
  margin-top: 2em;
}/*# sourceMappingURL=main.css.map */