a {
  text-decoration: none;
}

a,a:hover,a:visited{
    color: inherit;
}

.page h1{
  font-size: 25px;
  text-align: center;
  margin-top: 30px;
}

.page p{
  font-size: 18px;
  text-align: center;
}

.post-box{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-outline{
  width: 75%;
  background-color: #e8e8ed;
  padding:30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
}

h2{
  text-align: center;
}

.filter-outline{
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.filter-section{
  display: flex;
  flex-direction: column;
}

.filter-section1{
  display: flex;
  column-gap: 10px;
}

.filter-section2{
  padding: 20px;
  display: flex;
  justify-content: center;
}

.filter-box{
  background: #fff;
  border: 2px solid #eee;
  padding: 15px;
  margin-bottom: 30px;
  border-radius: 10px;
}

.filter-form label{
  display: block;
  font-weight: 600;
  margin-top: 6px;
  font-size: 14px;
}


.fitem select,
.fitem input{
  border: 1px solid #eee;
  padding: 10px;
  font-size: 13px;
  box-sizing: border-box;
  margin: 5px;
}

.factions{
  display: flex;
  flex-direction: column;
  width: 300px;
  gap: 10px;
}

.search{
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.3s;
  background: #20204e;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  height: 45px;
}

.search:hover {
  background-color: #4c4c71;
}

.reset-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.3s;
  background: #b5c9f8;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  height: 45px;
}

.reset-btn:hover,
.reset-btn:hover {
  background-color: #4c4c71;
}

.save-search-box-outline{
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.save-search-box {
  margin-top: 32px;
  padding: 28px;
  background: #f8f9ff;
  border: 1px solid #d8dbe8;
  border-radius: 18px;
  width: 700px;
}

.save-search-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.save-search-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #20204e;
  color: #fff;
  font-size: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.save-search-text h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #20204e;
}

.save-search-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

.save-search-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.save-search-field label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #20204e;
}

.save-search-field select,
.save-search-field input[type="text"] {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd4e2;
  background: #fff;
  font-size: 14px;
  transition: 0.2s;
  box-sizing: border-box;
  height: 50px;
}

.save-search-field select:focus,
.save-search-field input[type="text"]:focus {
  outline: none;
  border-color: #20204e;
  box-shadow: 0 0 0 4px rgba(32, 32, 78, 0.1);
}

.save-search-button {
  width: 100%;
  padding: 15px;
  border: none;
  background: #20204e;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  border-radius: 5px;
}

.save-search-button:hover {
  background: #383870;
  transform: translateY(-1px);
}

.region-select-wrap{
    display: flex;
    align-items: flex-start;
  gap:2px;
}

@media (max-width: 768px) {

  .save-search-box {
    padding: 20px;
  }

  .save-search-header {
    align-items: flex-start;
  }

  .save-search-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .save-search-text h3 {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .save-search-box {
    padding: 18px;
  }

  .save-search-button {
    font-size: 14px;
  }
}

.request{
  align-items: center;
  border-collapse: collapse;
}

.request td{
  border: solid 1px #20204e;
  width: 700px;
  background-color: #fff;
}

.request th{
  border: solid 1px #20204e;
  width: 200px;
  background-color: #dedede;
}

.hint{
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.request-owner-page select{
  width: 300px;
  border: 1px solid #eee;
  padding: 10px;
  margin: 5px;
}

.title{
  width: 500px;
  height: 30px;
  border: 1px solid #eee;
  border-radius: 10px;
}

textarea{
  width: 500px;
  border: 1px solid #eee;
  margin: 10px;
}

.actions{
  display: flex;
  justify-content: center;
}

.submit{
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 15px;
  padding-left: 25px;
  padding-right: 25px;
    font-weight: bold;
    font-size: 17px;
    background-color: #20204e;
    box-shadow: 2px 2px 6px #dedede;
    border-radius: 30px;
    color: #ffffff;
  width: 200px;
  height: 60px;
}

.submit:hover,
.submit:hover {
  background-color: #4c4c71;
}

.empty{
  text-align: center;
  margin-bottom: 50px;
}

.btn{
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 15px;
  padding-left: 25px;
  padding-right: 25px;
    font-weight: bold;
    font-size: 15px;
    background-color: #ffbc19;
    box-shadow: 2px 2px 6px #dedede;
    border-radius: 30px;
    color: #ffffff;
}

.btn:hover,
.btn:hover {
  background-color: #ffc946;
}

.request-title{
  font-size: 15px;
  font-weight: bold;
  color: #20204e;
  margin-bottom: 5px;
  text-decoration: underline;
}

.title-outline,
.price-outline{
  border: 1px solid #eee;
  margin: 10px;
  padding: 10px;
}


.industry{
  padding: 7px;
  width: fit-content;
  font-size: 13px;
  text-align: center;
  border-radius: 10px;
}

.region{
  padding: 7px;
  width: fit-content;
  background-color: #dedede;
  font-size: 13px;
  border-radius: 10px;
  text-align: center;
}

.flash{
  text-align: center;
  margin: 20px;
  font-weight: bold;
  color: orange;
}

.error {
  color: red;
  font-size: 12px;
  margin-top: 4px;
}

.img img {
  width: 150px;
  height: auto;
}

.img-contact{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.favorite-form {
  margin-bottom: 10px;
}

.favorite-btn,
.favorite-login-btn {
  display: inline-block;
  width: 100%;
  border: 1px solid #20204e;
  background: #fff;
  color: #20204e;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.favorite-btn.is-active {
  background: #20204e;
  color: #fff;
}

.favorite-btn:hover,
.favorite-login-btn:hover {
  opacity: 0.85;
}

.request-board-list {
  padding: 50px 20px;
  background: linear-gradient(180deg, #f7f8ff 0%, #ffffff 100%);
}

.request-board-heading {
  text-align: center;
  margin-bottom: 42px;
}

.request-board-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #20204e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.request-board-heading h2 {
  margin: 0 0 14px;
  color: #20204e;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.request-board-heading p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}

.request-board-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  justify-content: center;
}

.list-outline {
  background: #fff;
  border: 1px solid #dedede;
  width: 700px;
}

.request-list {
  display: flex;
  gap: 24px;
  padding: 12px;
}

.request-detail {
  width: 600px;
}

.card-section1{
  display: flex;
  gap: 10px;
}

.post-type-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.request-title a {
  display: block;
  color: #20204e;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}

.request-title a:hover {
  text-decoration: underline;
  }

.industry,
.category,
.region {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.region {
  background-color:#dee9eb;
  color: #20204e;
}

.body {
  display: -webkit-box;
  margin: 0 0 5px;
  color: #555;
  font-size: 12px;
  height: 40px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apply {
  display: flex;
  gap: 10px 18px;
  color: #777;
  font-size: 11px;
}

.img-contact {
  display: flex;
  flex-direction:row;
  gap: 16px;
  width: 400px;
  justify-content: flex-end;
}

.img {
  width: 130px;
  height: 130px;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f4f8;
}

.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.request-board-no-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef2ff 0%, #f8f9ff 45%, #fff7f1 100%);
  color: #7b819f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.btn-section {
  display: grid;
  gap: 10px;
  width: 150px;
}

.favorite-form {
  margin: 0;
}

.favorite-btn,
.favorite-login-btn,
.btn {
  width: 100%;
  min-height: 44px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.favorite-btn,
.favorite-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f2ff;
  color: #20204e;
}

.favorite-btn.is-active {
  background: #fff1c7;
  color: #9a6500;
}

.empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #ececf4;
  text-align: center;
  color: #666;
}

.pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-bottom: 40px;
    flex-wrap:wrap;
}

.pagination-link{
    display:flex;
    align-items:center;
    justify-content:center;

    min-width:42px;
    height:42px;

    padding:0 12px;

    border-radius:999px;

    background:#f3f5f7;
    color:#20204e;

    font-size:14px;
    font-weight:700;

    text-decoration:none;

    transition:.2s;
}

.pagination-link:hover{
    background:#dfe6ff;
}

.pagination-link.active{
    background:#20204e;
    color:#fff;
}

#request-board{
    scroll-margin-top: 100px;
}

.th-flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.th-title{
  text-align: left;
  padding: 10px;
}

.required-label{
    padding: 2px 6px;
    background: #20204e;
    color: #fff;
  border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
  margin-right: 10px;
}

.td-img{
  margin: 10px;
}

.save-condition-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.save-condition-preview span {
    padding: 6px 10px;
    border-radius: 5px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.post-image-preview-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.post-image-preview-item {
    position: relative;
    min-width: 0;
}

.post-image-preview {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f5f5f5;
}

.post-image-preview-name {
    margin-top: 5px;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.post-image-preview-delete {
    position: absolute;
    top: 5px;
    right: 5px;
    border: 0;
    border-radius: 4px;
    padding: 4px 7px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}

.upload-note{
  font-size: 13px;
  padding: 3px;
}

.post-img{
  padding: 10px;
}

@media (max-width: 700px) {
    .post-image-preview-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
  .request-list {
    grid-template-columns: 1fr;
  }

  .img {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .request-board-list {
    padding: 56px 16px;
  }

  .request-board-heading {
    text-align: left;
    margin-bottom: 28px;
  }

  .request-list {
    padding: 20px;
  }

  .request-title a {
    font-size: 18px;
  }
}