/* 기본 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans KR', sans-serif;
}

body {
  background: #edb6c2;
}

/* 헤더 */
header {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  padding: 25px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: #333;
  font-weight: 600;
  text-decoration: none;
}

.active {
  color: #6b67e7;
}


.write-header {
  max-width: 1400px;
  margin: 40px auto 20px;
}

.back-btn {
  font-size: 1.1rem;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.back-btn:hover {
  background: #6c63ff;
  color: white;
}


/* 작성 폼 전체 */
.write-container {
  max-width: 700px;
  margin: 80px auto;
  padding: 40px 30px;
  background: #ffffffaa;
  backdrop-filter: blur(6px);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  text-align: center;
}

.write-container h2 {
  font-size: 2.4rem;
  margin-bottom: 25px;
  font-weight: 800;
  color: #111;
}

/* 입력 폼 */
.write-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

label {
  font-weight: 700;
  font-size: 1.1rem;
  color: #222;
}

input, textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #bbb;
  font-size: 1rem;
  transition: .3s;
}

input:focus, textarea:focus {
  border-color: #6b67e7;
  box-shadow: 0 0 0 4px rgba(107,103,231,0.25);
  outline: none;
}

/* 등록 버튼 */
button {
  margin-top: 10px;
  padding: 14px 0;
  background: #6b67e7;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: .25s;
}

button:hover {
  background: #504ce7;
}

/* 뒤로가기 버튼 */
.back-btn {
  display: inline-block;
  margin-top: 22px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: .25s;
}

.back-btn:hover {
  color: #6b67e7;
}
