/* 랩이즈펀 주식회사 공통 스타일시트 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
  color: #111111;
  font-family: "돋움", "Dotum", "굴림", "Gulim", sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

/* 고정(Sticky) 헤더 설정 */
header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  border-bottom: 2px solid #7c00b5;
  padding: 15px 0;
  margin-bottom: 35px;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #111111;
}

.logo img {
  width: 48px;
  height: 48px;
  margin-right: 12px;
}

.logo-title {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: -0.5px;
}

nav a {
  color: #444444;
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
  font-weight: bold;
}

nav a:hover {
  color: #7c00b5;
  text-decoration: underline;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  padding-bottom: 60px;
}

section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eeeeee;
}

section:last-child {
  border-bottom: none;
}

h1 {
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 25px;
  color: #111111;
  border-left: 4px solid #7c00b5;
  padding-left: 14px;
  line-height: 1.3;
}

h2 {
  font-size: 19px;
  font-weight: bold;
  margin-top: 35px;
  margin-bottom: 15px;
  color: #222222;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
}

h3 {
  font-size: 16px;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 12px;
  color: #333333;
}

h4 {
  font-size: 15px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #444444;
}

p {
  margin-bottom: 10px;
  word-break: keep-all;
  color: #222222;
}

em {
  font-style: italic;
  color: #666666;
}

strong {
  font-weight: bold;
}

ul,
ol {
  margin-left: 22px;
  margin-bottom: 10px;
}

li {
  margin-bottom: 2px;
}

a {
  color: #0055bb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

th,
td {
  border: 1px solid #cccccc;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

td>ul {
  margin-bottom: 0px;
}

th {
  background-color: #f5f5f5;
  font-weight: bold;
  color: #222222;
  border-bottom: 2px solid #bbbbbb;
}

figure {
  margin: 30px 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid #cccccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

figcaption {
  font-size: 13px;
  color: #666666;
  margin-top: 10px;
}

footer {
  border-top: 1px solid #e5e5e5;
  padding: 30px 0;
  color: #777777;
  font-size: 13px;
  text-align: center;
  background-color: #fafafa;
}

.nav-buttons {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px dashed #cccccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 메시지 작성 양식 및 결과 스타일 */
.open-msg-link {
  color: #7c00b5;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}

.open-msg-link:hover {
  color: #590082;
}

.msg-form-wrapper {
  margin-top: 20px;
  padding: 24px;
  background-color: #fcf9ff;
  border: 1px solid #d8b4e2;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(124, 0, 181, 0.08);
}

.msg-form-wrapper h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #7c00b5;
}

.msg-form-group {
  margin-bottom: 14px;
}

.msg-form-group label {
  display: block;
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 5px;
  color: #333333;
}

.msg-form-group input,
.msg-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.msg-form-group input:focus,
.msg-form-group textarea:focus {
  border-color: #7c00b5;
  box-shadow: 0 0 0 2px rgba(124, 0, 181, 0.15);
}

.msg-form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.telegram-guide {
  margin-top: 6px;
  font-size: 12px;
  color: #555555;
  line-height: 1.55;
  background-color: #f6f0fb;
  padding: 8px 10px;
  border-radius: 4px;
  border-left: 3px solid #7c00b5;
}

.msg-btn-group {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.btn-purple {
  background-color: #7c00b5;
  color: #ffffff;
  border: none;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-purple:hover {
  background-color: #590082;
}

.btn-purple:disabled {
  background-color: #aaaaaa;
  cursor: not-allowed;
}

.btn-gray {
  background-color: #eeeeee;
  color: #444444;
  border: 1px solid #cccccc;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-gray:hover {
  background-color: #e2e2e2;
  border-color: #bbbbbb;
}

.msg-success-box {
  text-align: center;
  padding: 15px 0;
}

.msg-success-box p {
  font-size: 16px;
  font-weight: bold;
  color: #7c00b5;
  margin-bottom: 18px;
}

.about-result-notice {
  margin-top: 20px;
  padding: 12px 16px;
  background-color: #f7effd;
  border-left: 4px solid #7c00b5;
  color: #7c00b5;
  font-weight: bold;
  font-size: 15px;
  border-radius: 0 4px 4px 0;
}