.elementor-10775 .elementor-element.elementor-element-238f8e3 > .elementor-container{max-width:826px;min-height:602px;}.pp-tooltip.pp-tooltip-{{ID}} .pp-tooltip-content{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}/* Start custom CSS for shortcode, class: .elementor-element-631538f *//* 워드프레스 ACF 숏코드 폼 디자인 CSS (최종 수정) */

/* 번호를 매기기 위해 카운터 초기화 */
.frontend-form {
    counter-reset: field-counter;
}

/* 각 입력 필드 구분 스타일 */
.frontend-form .acf-field {
    /* [수정됨] 항목별 간격 강제 확장 */
    margin-bottom: 30px !important;
    padding-bottom: 30px !important;
    border-bottom: 1px solid #e9ecef;
}
.frontend-form .acf-field:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* position을 사용하기 위한 기준점 설정 */
.frontend-form .acf-field-upload-file {
    position: relative;
    padding-right: 370px; /* 파일 업로더 너비에 맞춰 공간 확보 */
    min-height: 50px;
    /* 카운터 숫자 증가 */
    counter-increment: field-counter;
}

/* 번호가 위치할 공간 확보를 위해 패딩 추가 */
.frontend-form .acf-label {
    padding-left: 35px;
}
.frontend-form .acf-label label {
    font-size: 18px;
    font-weight: 500;
    color: #2d3748;
}

/* 번호를 라벨 왼쪽 공간에 절대 위치로 배치 */
.frontend-form .acf-field-upload-file::before {
    content: counter(field-counter) ".";
    position: absolute;
    left: 0;
    top: 2px; /* 라벨 텍스트와 세로 위치 미세 조정 */
    font-weight: 700;
    font-size: 20px;
    color: #3182ce;
}

/* 필수 항목(*) 표시 */
.frontend-form .acf-required {
    color: #e53e3e;
    font-weight: 700;
    margin-left: 4px;
}

/* 필드 설명 텍스트 */
.frontend-form .acf-input p.description {
    font-size: 14px;
    color: #718096;
    margin-top: 8px;
    margin-bottom: 0;
    padding-left: 35px; /* 번호와 시작점 맞추기 */
}

/* 파일 업로더 전체를 오른쪽으로 이동 */
.frontend-form .acf-file-uploader {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 350px; /* 파일명 표시 영역 너비 확장 */
    text-align: right;
}

/* '파일 첨부하기' 버튼 */
.frontend-form .hide-if-value a.button {
    display: inline-block;
    background-color: #4a5568;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}
.frontend-form .hide-if-value a.button:hover {
    background-color: #2d3748;
}

/* 파일 첨부 후 정보창 */
.frontend-form .show-if-value .file-wrap {
    display: inline-flex;
    align-items: center;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 15px;
    width: 100%;
}
.frontend-form .show-if-value .file-icon img {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    flex-shrink: 0;
}
.frontend-form .show-if-value .file-info {
    flex-grow: 1;
    text-align: left;
    min-width: 0;
}
.frontend-form .show-if-value .file-info p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal; /* 긴 텍스트가 다음 줄로 넘어가도록 허용 */
    word-break: break-all; /* 띄어쓰기 없는 긴 단어도 강제로 줄바꿈 */
}
.frontend-form .show-if-value .file-info a {
    color: #3182ce;
}

/* 수정/삭제 아이콘 */
.frontend-form .acf-actions {
    margin-left: 10px;
}
.frontend-form .acf-actions a.acf-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s;
    background-color: #e2e8f0;
}


/* --- 최종 제출 버튼 --- */
.frontend-form .acf-field-submit-button {
    margin-top: 30px;
}
/* [수정됨] 버튼을 포함한 부모 요소를 가운데 정렬 */
.frontend-form .acf-field-submit-button .acf-input {
    text-align: center;
}
/* [추가됨] 버튼 자체를 블록 요소로 만들고 자동 여백으로 가운데 정렬 */
.frontend-form .fea-submit-button {
    width: auto;
    background-color: #3182ce;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    display: inline-block; /* 기존 값 유지 */
    margin: 0 auto; /* 좌우 여백을 자동으로 주어 가운데 정렬 */
}
.frontend-form .fea-submit-button:hover {
    background-color: #2b6cb0;
}
.frontend-form .fea-submit-button:active {
    transform: scale(0.99);
}/* End custom CSS */