@charset "utf-8";
@font-face {
	font-family: 'Pretendard Variable';
	font-style: normal;
	font-display: swap;
	src: url('../../../packages/pretendard/dist/web/variable/woff2/PretendardVariable.woff2') format('woff2-variations');
}

/* General reset */
* {
    font-family: 'Pretendard Variable', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  
/* 스크롤바의 폭 너비 */
::-webkit-scrollbar {
width: 5px;  
}

::-webkit-scrollbar-thumb {
background: #ddd; /* 스크롤바 색상 */
border-radius: 10px; /* 스크롤바 둥근 테두리 */
}

::-webkit-scrollbar-track {
background: transparent;  /*스크롤바 뒷 배경 색상*/
}
::-webkit-scrollbar-button {
  display: none;
}


  .container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
  }
  
  .write {
    height: 220px;
    padding: 15px;
  }
    
  .guestbook {
    margin: 10px auto;
    padding: 25px;
    height: 350px;
    overflow: auto;
  }
    
  .guestbook-form {
    margin-bottom: 20px;
    height: 100%;
  }
  
  label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
  }
  
  select, input, textarea {
    width: 100%;
    height: 100%;
    font-size: 16px;
    padding: 10px;
    border: 1px solid gray;
    border-radius: 5px;
   }
 
  input {
    width: 100%;
    resize: none;
 }

  textarea {
    resize: none;
    height: 100%;
  }
  
  button {
    display: block;
    background-color: transparent;
    border: none;
    color: gray;
    margin-left: 8px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }
  
  button:hover {
    color: #1da1f2;
  }
  
li {
    list-style: none;
    box-sizing: border-box;
}

  .guestbook-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .comments-list li {
    padding-left: 20px;
  }


  .list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-bottom: 1px solid gray;
  }

 .comment{
    padding: 8px 0px 8px 8px;
    margin-bottom: 8px;
    border-top: 1px dashed gray;
}

  .nametext {
    font-weight: bold;
    color: #1da1f2;
    font-size: 18px;
  }
  
  .messagetext {
    color: #333;
    font-size: 16px;
    white-space: pre-wrap;
    word-break: break-all;
  }
  
  .time {
    font-size: 14px;
    color: gray;
    text-align: right;
    margin-bottom: 8px;
  }

  .commentName{
    font-weight: bold;
    color: #1da1f2;
    font-size: 18px;
  }
  
  .commentMessage {
    color: #333;
    font-size: 16px;
    white-space: pre-wrap;
    word-break: break-all;
  }
  
  .commentTime {
    font-size: 14px;
    color: gray;
    text-align: right;
    margin-bottom: 8px;
  }
  
.button-align{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
}

table {
    width: 100%;
    height: 100%;
    table-layout: fixed;
    vertical-align: middle;
    padding: 5px;
    text-align: center;
}

td {
    width: 100%;
    padding: 6px 3px;
    text-align: center;
}

tr {
  line-height: 1.6;
}