/* ===== 주소지 길흉 입력 페이지 ===== */

.address-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* ===== 페이지 타이틀 ===== */
.address-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.address-heading {
    font-family: 'MaruBuri', serif;
    font-size: 40px;
    font-weight: 600;
    color: #1a2d1c;
    line-height: 1;
}

.address-subtitle {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #1a2d1c;
    line-height: 1;
}

/* ===== 폼 카드 ===== */
.address-form-card {
    width: 600px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== 폼 그룹 ===== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #2d432e;
    line-height: 1.5;
}

.form-input {
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 5px;
    padding: 10px 15px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #1a2d1c;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.form-input::placeholder {
    color: #728473;
}

.form-input:focus {
    border-color: #2d432e;
}

/* ===== 우편번호 행 ===== */
.postal-row {
    display: flex;
    gap: 10px;
}

.postal-input {
    flex: 1;
}

.postal-search-btn {
    width: 90px;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #728473;
    border-radius: 5px;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #2d432e;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.postal-search-btn:active {
    background-color: #f4f4f4;
}

/* ===== 포인트 뱃지 ===== */
.point-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 40px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 5px;
}

.point-circle {
    width: 24px;
    height: 24px;
    background-color: #caab7a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.point-label {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #2d432e;
    line-height: 1.5;
}

.point-value {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2d432e;
    line-height: 1.5;
}

/* ===== CTA 버튼 ===== */
.address-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 470px;
    height: 54px;
    background-color: #2d432e;
    border: none;
    border-radius: 1000px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.15s ease;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.address-cta:active {
    opacity: 0.85;
    transform: scale(0.98);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .address-heading {
        font-size: 32px;
    }

    .address-form-card {
        width: 100%;
    }

    .address-cta {
        width: 100%;
        max-width: 470px;
    }
}

@media (max-width: 480px) {
    .address-heading {
        font-size: 26px;
    }

    .address-subtitle {
        font-size: 14px;
    }

    .form-label,
    .form-input {
        font-size: 14px;
    }

    .form-input {
        width: 100%;
        box-sizing: border-box;
    }

    .point-badge {
        padding: 10px 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .point-label,
    .point-value,
    .point-circle {
        font-size: 14px;
    }

    .postal-search-btn {
        min-height: 44px;
        font-size: 13px;
    }

    .address-cta {
        width: 100%;
        font-size: 15px;
        min-height: 48px;
    }

    .address-form-card {
        padding: 16px;
        gap: 16px;
    }

    .address-content {
        gap: 20px;
    }
}
