/*로그인 화면*/
.loginW{
    width: 100%;
    height: 100%;
    position: fixed;
    top:0;
    left:0;
    background: url('../images/login_bg.png') no-repeat;
    background-size: cover;
}
.loginC{
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    text-align: center;
}
.loginC h1{
    color:#000;
    font-size: 16px;
    font-weight: 500;
}

.loginB{
    padding: 1rem 0;
}
.login_ic{
    color:#205AE5;
    font-size: 80px;
    line-height: 0;
}
.loginB strong{
    font-size: 20px;
    color:#205AE5;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}
.loginB p{
    font-size: 12px;
    color:#999;
    margin-bottom: 0.5rem;
}
.loginB input[type=text]{
    border-radius: 8px;
    border:1px solid #ddd;
    height: 44px;
    line-height: 42px;
    padding: 0 1rem;
    display: block;
    margin-bottom: 0.5rem;
    text-align: center;
    color:#000;
    width: 320px;
}
.loginB input[type=password]{
    border-radius: 8px;
    border:1px solid #ddd;
    height: 44px;
    line-height: 42px;
    padding: 0 1rem;
    display: block;
    margin-bottom: 0.5rem;
    text-align: center;
    color:#000;
    width: 320px;
}
.loginB button{
    padding:0.75rem 1rem;
    background: #205AE5;
    color:#fff;
    text-align: center;
    width: 100%;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
}
.loginB button span{
    display: block;
    font-size: 14px;
    margin-top:0.1rem;
    font-weight: 400;
}


@media (max-width: 768px) {
  .loginW {
    background: none;
    height: auto;
    min-height: 100vh;
  }

  .loginC {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 2rem 1.5rem;
    box-shadow: none;
  }
  .loginB input[type=text]{
      width: 100%;
  }
  .loginB input[type=password]{
      width: 100%;
  }
  .login_ic{
      color:#205AE5;
      font-size: 60px;
      line-height: 0;
  }
  .loginB strong {
    font-size: 22px;
  }

  .loginB p {
    font-size: 14px;
  }

  .loginB button {
    font-size: 16px;
  }

  .loginB button span {
    font-size: 12px;
  }
}


/*게시판 스타일 변경*/
.form-wrapper {
  margin: auto;
  display: flex;
  flex-direction: column;
  /* gap: 1.6rem; */
  gap: 0.8rem;
}

.form-group {
  display: grid;
  /* gap: 2rem; */
  gap: 0.8rem;
}

.formC label{
    font-weight: 500;
    color:#999;
    margin-bottom: 0.4rem;
    display: block;
    
    font-size: 12pt;
}
.form_box{
    display: flex;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 8px;
    /* height: 44px; */
    min-height: 44px;
    line-height: 42px;
    gap: 0.5rem;
}
.form_box.radioT{
    padding:0 1rem;
}

.form_box.radioT label{
    display: inline-block;
    margin: 0;
}
.form_box.radioT {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}

.form_box p{
    font-size: 16px;
    color:#000;
    padding:0 1rem;
}
.form_box.radioT input[type=radio]{
    margin-top:-4px;
}

.form_box input[type="text"],
.form_box input[type="password"],
.form_box input[type="tel"],
.form_box input[type="email"],
.form_box select {
  flex: 1;
  background: none;
  color:#000;
  height: 42px;
  padding: 0.75rem 1rem;
  
  font-size: 10pt;
}

.form_box textarea {
	width:100%;
}

.selFileDiv {
	font-size:10pt;
}


.f_in_btn {
    white-space: nowrap;
    background: #E3FFF2;
    border:1px solid #C0F4DC;
    height: 32px;
    line-height: 28px;
    font-size: 0.875rem;
    cursor: pointer;
    margin:0.3rem;
    border-radius: 99px;
    padding:0 1rem;
    color:#58CA95;
    font-weight: 600;
}
.f_in_btn.date{
    font-size: 20px;
    padding: 0 1rem;
    line-height: 0;
    padding:0 0.75rem;
}

/* 각 열 타입 정의 */
.cols-1 {
  grid-template-columns: 1fr;
}

.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.btn-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-group .form_btn {
  border: none;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: 0.875rem;
  font-weight: bold;
  cursor: pointer;
  height: 44px;
  line-height: 44px;
  padding:0 2rem;
}
.btn-group .form_btn.style1{background: #7E8498;}
.btn-group .form_btn.style2{background: #3F5FCE;}
.btn-group .form_btn.style3{background: #E43962;}
.btn-group .form_btn.style4{background: #41B46F;}

/* ✅ 버튼 개수에 따른 정렬 스타일 */
.btns-1 {
  justify-content: center;
}

.btns-2 {
  justify-content: flex-end;
}

.btns-3 {
  justify-content: flex-end;
}


/* 반응형: 모바일은 항상 1열 */
@media (max-width: 768px) {
    .cols-2,
    .cols-3,
    .cols-4,
    .cols-5 {
        grid-template-columns: 1fr;
    }
    .btn-group {
        flex-direction: column;
    }
    .btn-group .form_btn {
        flex: 1;
    }
    .btn-group button {
        width: 100%;
    }
    .btns-3,
    .btns-2,
    .btns-1 {
        justify-content: stretch;
    }
}
