@charset "UTF-8";

.password-generator-card {
  max-width: 980px;
  margin: 0 auto 36px;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.06),
    0 4px 14px rgba(15, 23, 42, 0.04);
}

.password-result-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 22px;
}

.password-result-input {
  flex: 1;
  height: 56px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #f8fafc;
}

.password-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 10px;
}

.password-option-box {
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.password-length-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.length-control {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.password-length-range {
  flex: 1;
  accent-color: #5b6df6;
}

.length-value-box {
  width: 110px;
  flex-shrink: 0;
}

.password-length-number {
  width: 100%;
  text-align: center;
  font-weight: 700;
}

.password-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.password-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  font-size: 15px;
  color: #334155;
  cursor: pointer;
}

.password-check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #5b6df6;
  cursor: pointer;
}

.password-btn-row {
  margin-top: 22px;
  gap: 10px;
}

.password-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.password-info-box {
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.password-info-label {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #475569;
}

.password-info-value {
  display: block;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.password-info-text {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.password-strength-box {
  position: relative;
}

.password-strength-bar {
  width: 100%;
  height: 12px;
  margin-top: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e7eb;
}

.password-strength-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316 0%, #facc15 50%, #22c55e 100%);
  transition: width 0.25s ease;
}

@media (max-width: 900px) {
  .password-options-grid,
  .password-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .password-generator-card {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .password-result-row {
    flex-direction: column;
  }

  .password-result-input {
    height: 52px;
    font-size: 16px;
  }

  .length-control {
    flex-direction: column;
    align-items: stretch;
  }

  .length-value-box {
    width: 100%;
  }

  .password-info-value {
    font-size: 28px;
  }

  .password-info-text {
    font-size: 16px;
  }

  .password-btn-row {
    flex-wrap: wrap;
  }

  .password-btn-row .utility-btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .password-btn-row .utility-btn {
    flex: 1 1 100%;
  }
}