/* Elegant 스킨 */
.hdbc-skin-elegant {
    max-width: 100%;
    margin: 0;
}

/* 제목 스타일 */

.hdbc-skin-elegant .hdbc-form-fields-wrap {
    display: block;
}

/* 필드 스타일 */
.hdbc-skin-elegant .hdbc-field {
    margin-bottom: 30px;
    position: relative;
}


.hdbc-skin-elegant .hdbc-field:last-child::after {
    display: none;
}

/* 라벨 스타일 */
.hdbc-skin-elegant .hdbc-field label,
.hdbc-skin-elegant .hdbc-field-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00003f;
    margin-bottom: 12px;
}

/* 입력 필드 스타일 */
.hdbc-skin-elegant .hdbc-field input[type="text"],
.hdbc-skin-elegant .hdbc-field input[type="email"],
.hdbc-skin-elegant .hdbc-field input[type="tel"],
.hdbc-skin-elegant .hdbc-field input[type="date"],
.hdbc-skin-elegant .hdbc-field textarea,
.hdbc-skin-elegant .hdbc-field select {
    padding: 0px;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: 16px;
    transition: all 0.3s ease;
    background: transparent;
}

.hdbc-skin-elegant .hdbc-field input:focus,
.hdbc-skin-elegant .hdbc-field textarea:focus,
.hdbc-skin-elegant .hdbc-field select:focus {
    border-bottom-color: #00003f;
    box-shadow: none;
}

/* 체크박스/라디오 스타일 */
.hdbc-skin-elegant .hdbc-radio-group label,
.hdbc-skin-elegant .hdbc-checkbox-group label {
    font-size: 15px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.hdbc-skin-elegant .hdbc-radio-group input[type="radio"],
.hdbc-skin-elegant .hdbc-checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.2);
}

/* 약관동의 스타일 */
.hdbc-skin-elegant .hdbc-terms-field {

}

/* 제출 버튼 */
.hdbc-skin-elegant .hdbc-submit-wrap {
    text-align: center;
    margin-top: 40px;
}

.hdbc-skin-elegant .hdbc-submit-btn {
    background: transparent;
    color: #00003f;
    border: 1px solid #00003f;
    padding: 15px 60px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width:100%;
}

.hdbc-skin-elegant .hdbc-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #00003f;
    transition: left 0.3s ease;
    z-index: -1;
}

.hdbc-skin-elegant .hdbc-submit-btn:hover {
    color: #fff;
}

.hdbc-skin-elegant .hdbc-submit-btn:hover::before {
    left: 0;
}

/* 애니메이션 */
.hdbc-skin-elegant .hdbc-field {
    opacity: 0;
    transform: translateY(30px);
    animation: elegantFadeIn 0.8s ease forwards;
}

.hdbc-skin-elegant .hdbc-field:nth-child(1) { animation-delay: 0.1s; }
.hdbc-skin-elegant .hdbc-field:nth-child(2) { animation-delay: 0.2s; }
.hdbc-skin-elegant .hdbc-field:nth-child(3) { animation-delay: 0.3s; }
.hdbc-skin-elegant .hdbc-field:nth-child(4) { animation-delay: 0.4s; }
.hdbc-skin-elegant .hdbc-field:nth-child(5) { animation-delay: 0.5s; }

@keyframes elegantFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 */
@media (max-width: 768px) {
    .hdbc-skin-elegant .hdbc-field {
        margin-bottom: 25px;
    }
    
    .hdbc-skin-elegant .hdbc-submit-btn {
        width: 100%;
        padding: 15px 40px;
    }
}