/* 게스트북 스타일 */
.guestbook-section {
    margin-bottom: 30px;
}

/* 폼 스타일 개선 */
#guestbook-form {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.form-row .pixel-input {
    flex: 1;
    margin-bottom: 0;
}

#guestbook-form .pixel-input {
    margin-bottom: 10px;
}

#guestbook-form textarea {
    min-height: 80px;
    resize: vertical;
}

/* 비밀번호 입력 필드 */
#guest-password {
    text-align: center;
    letter-spacing: 0.1em;
}

/* 숫자 입력 필드 스피너 제거 */
#guest-password::-webkit-outer-spin-button,
#guest-password::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#guest-password[type=number] {
    -moz-appearance: textfield;
}

.guestbook-messages {
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.guestbook-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    transition: all 0.2s;
}

.guestbook-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.guest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.guest-header strong {
    font-size: 1em;
    color: #fff;
}

.guest-date {
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.6);
}

.guest-message {
    margin: 10px 0;
    line-height: 1.6;
    color: #fff;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.guest-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.pixel-btn.tiny {
    padding: 6px 12px;
    font-size: 0.75em;
    min-width: 60px;
}

.edit-btn {
    background: #4a90e2;
    border-color: #357abd;
}

.edit-btn:hover {
    background: #357abd;
    transform: translateY(-1px);
}

.delete-btn {
    background: #e74c3c;
    border-color: #c0392b;
}

.delete-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
}