/*body{margin:0;}*/

@font-face {
    font-family: "Noto Sans KR";
    src: url("/m_web/common/css/font/NotoSansKR-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;        
}
@font-face {
    font-family: "Noto Sans KR";
    src: url("/m_web/common/css/font/NotoSansKR-500.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;        
}
@font-face {
    font-family: "Noto Sans KR";
    src: url("/m_web/common/css/font/NotoSansKR-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;        
}     
.modal-wrapper *{
    font-family:'Noto Sans KR', sans-serif !important; 
}

.modal-wrapper {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  height: auto;
  align-items: flex-start;
  position: fixed;
  z-index: 100001 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, .7);
  -webkit-animation-name: fadeIn;
  -webkit-animation-duration: .4s;
  animation-name: fadeIn;
  animation-duration: .4s;    
}

.modal-wrapper .aModal {
  width: 820px;
  background-color: #fff;
  padding: 0 30px;
  box-sizing: border-box;
  position: absolute;
  width: 600px;
  max-height: 800px;
  overflow-x: hidden;
  overflow-y: hidden;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 35px;  
}

.tabs {
  display: flex;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
  font-size:16px;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  position: relative;
}

.tab.active {
  color: #1698f4;
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1698f4;
}

.section {
  display: none;
}

.section.active {
  display: block;
}

.sub-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.sub-buttons button {
  flex: 1;
  padding: 15px 5px;
  background: #fff;
  color: #1698f4;
  border: 1px solid #1698f4;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
  font-size: 14px;
}

.sub-buttons button.active {
  background: #1698f4;
  color: #fff;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group input {
    margin-top: 20px;
}

.input-group input:first-of-type {
    margin-top: 0;
}

.input-group .phone-group {
margin-top: 20px;
    display: flex;
    gap: 5px;
}

.phone-group select,
.phone-group input {
    margin-top: 0;
}   

.modal-wrapper input[type="text"], .modal-wrapper select{
  appearance: none;
  border: none;
  border-bottom: 1px solid #d9d9d9;
  height: 60px;
  padding: 0 10px;
  font-size: 16px;
  color: #000;
  width: 100%;
  background-color: transparent;
  box-sizing: border-box;
  outline: none;
  border-radius:0;
}

.modal-wrapper input::placeholder {
  color: #999;
}

.action-button {
  background-color: #4aa8f8;
  color: #fff;
  border: none;
  padding: 16px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  margin-top: 20px;
}

.action-button:hover {
  background-color: #1698f4;
}

.phone-auth {
  background-color: #1698f4;
  font-size: 17px;
  font-weight: 600;
  border: 1px solid #1698f4;
  border-radius: 8px;
  padding: 18px 0;
}

.phone-auth:hover {
  background-color: #0d8ae0;
  border-color: #0d8ae0;
}

.guide-text {
  font-size: 15px;
  color: #555;
  margin: 30px 0;
  text-align: left;
  line-height: 1.4;
}

.modal-title {
  /*
  font-size: 24px;
  font-weight: bold;
  line-height: 60px;  
  border-bottom: 2px solid #ccc;
  margin-bottom: 40px; 
  color: #222;  
  padding-bottom: 10px;
  */
  
  color: #000;
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
  max-width: 94%;  
}

.footer {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #666;
}

.modal-wrapper select {
  background: transparent url('data:image/svg+xml;utf8,<svg fill="gray" height="10" viewBox="0 0 24 24" width="10" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
  background-size: 20px;
  padding-right: 30px;
  height:auto !important;
}

@media (max-width: 768px) {
    /*
  body {
    align-items: flex-start;
  }
*/
  .aModal {
    width: 100%;
    padding: 0 10px;
  }

   /*
  .modal-title {
    margin: 10px -10px 40px -10px;
    padding: 0 0 10px 10px;
    display: block;
  }
  */

  .sub-buttons button {
    font-size: 12px;
  }

  .action-button {
    font-size: 14px;
  }
}
/* 아이디 찾기 후 결과 화면 */
.result-wrapper {
    padding: 30px;
    text-align: center;
    background-color: #fff;
    /*
    border: 2px solid #ccc;
    border-radius: 10px;
    */
    margin-top: 20px;
}

.result-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #1698f4;
    margin-bottom: 20px;
}

.result-content p {
    font-size: 16px;
    color: #333;
}

.found-id {
    font-size: 26px;
    font-weight: bold;
    color: #4aa8f8;
    margin: 20px 0;
}

.complete-btn {
    background-color: #4aa8f8;  
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
    margin: 20px auto;
    transition: background-color 0.3s ease;
}

.complete-btn:hover {
    background-color: #1698f4; 
}

@media (max-width: 768px) {
    .result-wrapper {
        padding: 20px;
    }

    .found-id {
        font-size: 22px;
        margin: 15px 0;
    }

    .action-button {
        width: 100%;
        padding: 14px;
    }
}

.modal-wrapper .btn_close {
    position: absolute;
    left: auto;
    margin-top: 0;
    margin-left: 0;
    right: 0;
    z-index: 1000;
}

.ico {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ico-close {
    background-image: url(/m_web/v3zone/images/btn_cancel.png);
}

.modal-head {
    position: relative;
    width: 100%;
    height: 63px;
    padding: 0 16px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    font-weight: bold;
    line-height: 60px;
    border-bottom: 2px solid #ccc;
    margin-bottom: 40px;
    color: #222;
    padding-bottom: 10px;    
}

.modal-wrapper .modal-head {
    padding: 0;
    border-bottom: 1px solid #888;
    z-index: 10;
    height: auto;
    padding-bottom: 10px;
}

@media screen and (max-width: 757px) {
    .modal-wrapper{
        background-color: #fff;
    }
    .modal-wrapper .aModal {
        width: 100%;
        max-height: 100%;
        height: 100%;
        padding: 0;
    }
    .modal-wrapper .modal-head {
        border-bottom: 1px solid #ddd;
        height: 56px;
        padding: 0 10px;
        margin-bottom:20px;
    }    
    .modal-wrapper .modal-head .btn_close {
        right: 1%;
        /* box-sizing: border-box !important; */
        position: relative;
    }    
    #FINDFORM{
        padding:0 10px;
    }
    /*
    .tabs{
        margin: 0 16px 20px;
    }
    */
}